Replies: 2 comments 1 reply
-
@TheOdinProject/javascript anybody have any thoughts on this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
It might be worth including an instruction that you should make sure at least one new card is displayed when updated... but really that's up to the user if they want to include that/think to include it. The main purpose of the project is to utilize hooks/lifecycle methods and state.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the memory card game project, this solution is given as a reference. I ran into the special case of getting 12 answers right, but then only these 12 cards were offered for the next round, effectively ending the game. I checked the code, and there is no guard against this case. Shouldn't there be at least one live card per round until the end, so you can theoretically reach a maximum score of 14 in every game?
Beta Was this translation helpful? Give feedback.
All reactions