kalapyha / solitaire-group-9

2 stars 0 forks source link

Add score and logic for this feature #1

Open kalapyha opened 1 year ago

kalapyha commented 1 year ago

We need to count and show a score for the game. I think it could be done by simply counting user moves and how many times the stack was iterated.

We can create a function that updates the score based on the player's actions. For example, you could award points for moving cards to the foundation piles, and deduct points for undoing a move. We can also create a scoring system based on the rules of the Solitaire game, or create a leaderboard system to store the high scores and display them to the user.