Recent content by Sthiel

  1. S

    Python How can I efficiently shuffle and deal cards for a simple memory game in Python?

    Yes precisely. So how would you suggest I initialize the list?
  2. S

    Python How can I efficiently shuffle and deal cards for a simple memory game in Python?

    So in the list there would be a max of 72 cards. It would be inefficient i feel to write all 72 values in the last, so I am assuming there is an easier way to write that.
  3. S

    Python How can I efficiently shuffle and deal cards for a simple memory game in Python?

    So I'm working on a simple memory game nonGUI: Write a program that plays the memory matching game. When it start, the program prompts the user for the number of rows and columns for the game board that contains the cards. The total number of cards must be even. Assume that the board dimensions...
  4. S

    Python Python Help for CSC131: Random Walk Simulation

    Thank you. My next homework assignment is somewhat similar and that should definitely help me figure it out.
  5. S

    Python Python Help for CSC131: Random Walk Simulation

    "A classic problem that can be solved using a list is a random walk. Imagine a drunken man standing on the center square of a sidewalk consisting of 11 squares. At each step, the drunk can elect to go either left or right. How long will it be until he reaches the end of the sidewalk, and how...
Back
Top