I made this game in high school using C++ (Turbo C++, never forget❤️) for my 12th Grade Computer Science Project. Recently I decided to see if the logic for the game still holds up. So, I ported it into a simple web game (app).
Check it out online: (https://codepen.io/chandan92/full/mBbbbJ)
Old C++ code is here: (https://github.com/ChandanMahapatra/gameProject/blob/old-game-v1/gameCode.txt)