I’m making a game where when you complete a Level it sends you back to the home screen. on the home screen there will be an input box for a password from each of the three levels.
I want the password for each Level to be completely random from person to person so that no one can share the password and have it work on their instance of the site only. here is how my website is structured:
/game
└── /home
├── scripts.js
└── styles.css
└── /level 1
├── main.html
├── scripts.js
└── styles.css
└── /level 2
├── main.html
├── scripts.js
└── styles.css
└── /level 3
├── main.html
├── scripts.js
└── styles.css
└── index.html
I was thinking something about using the users cookies somehow. And if there is another way I’m all ears.
By the way, I’m not very experienced in stuff like this and in web development.