Jump to content

sthiel

New Members
  • Posts

    1
  • Joined

  • Last visited

Profile Information

  • Favorite Area of Science
    Computer Science

sthiel's Achievements

Lepton

Lepton (1/13)

0

Reputation

  1. Hello, I have been having issues getting going with this assignment in csc131. I am to write a CLI program in python where all cards are dealt face down initially in a rectangular grid. On each turn, the player identifies two of the face-down cards. These two cards are (briefly) flipped face-up. If they match, they stay face up. If they don't match, they're flipped back over face-down. The play continues until all cards have been matched; no face down cards remain to be tested. And the grid is determined by a prompt from the user. (At most 9x8 or 8x9) My first issue is creating the list for the deck. I will need to have 2 of each card and I'm not sure how to create the list, if i have to put two of each possible card or I'm assuming there is an easier way. Any input on this question or the problem in general would be greatly appreciated.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.