JS Tamagotchi
▶
While some of the content of this game is questionable, the coding is quite good. You can enter a pretty realistic casino with blackjack, name your otter, and go to the shop.
I quite like the shop code, this is because it's made using dictionaries and a for loop. This makes it easy to add new items.
I also implemented a small simulation offline, meaning that if you come back after a while, your otter actually did stuff.
When you download the file, the code can be ran on a live server.