fac26 / week5-clientside-dgn

FAC26 | Week 5: Client Side App project
https://week5-clientside-dgn.netlify.app/
0 stars 0 forks source link

Splice already rendered cards from deck to avoid duplicates #24

Open LauraK0 opened 1 year ago

LauraK0 commented 1 year ago

Hi,

The game has some really impressive logic (well done!) but when playing I noticed that the same card can be drawn more than once. When generating a new card you might need to splice drawn cards from the deck to avoid this issue.

Screenshot 2023-02-15 at 17 17 25

georgiaewhitney commented 1 year ago

oh no!! I thought I fixed this. Great spot and great tip - thanks, Laura!