Open cmcrawford2 opened 12 months ago
I have been thinking about this and here's what I propose: Make it a two player game first. A 1 v 1 game. That way you have the the turn-taking aspect down first. Then you can add the computer player.
OK that sounds good. I've made two-player games before. You need to save state for which player, also a rule that says player only changes after the other player picks a pair that doesn't match.
And you need a message that says "player 1, you're up!" or "player 2, you're up!"
A computer would be more difficult because the computer memory has to be stored somehow. And you need to be able to make the computer memory not be perfect, to tune it somehow to only remember the last few moves, then have it forget.
I think maybe there should be levels for the computer. Easy: the computer will randomly picks cards, Medium: computer will remember the last few cards, Hard: computer remembers EVERYTHING :)
The computer needs to be added as a second player. This is not a beginner issue. It requires changes to the look of the project and changes to the way the game is scored.