DEV Community

Discussion on: A Tiny Project, From Inception to Deployment

Collapse
 
haamida profile image
Hamida

The first ideas that come to my mind to prevent the script from randomly picking the same entry twice for the current session at least, I would remove the chosen item from the choice pool or keep a memory of chosen items

Collapse
 
healeycodes profile image
Andrew Healey • Edited

Using the current session is an interesting way of solving it! Nice idea. ✨