salif / cli-games

Games in the terminal
https://salif.github.io/cli-games/
MIT License
49 stars 32 forks source link

New game suggestion #74

Open Ak-cli opened 2 years ago

Ak-cli commented 2 years ago

I have recreated few CLI games using rust programming language. Those games are from the book called "invent your own computer games with python". The one I am proposing is "Sonar", my version differs from the original slightly though.

Sonar: three treasure chests are hidden under the ocean, which is basically 60x15 grid. Player has 20 sonar devices to discover those chests. User enters x and y coordinates of a spot he/she wants to drop the device. Once its dropped user receives a signal if the device is close enough to any of the chests. Signals are "Strong" - chest is less than 1-2 cells away, "Normal" - less than 3 cells away and "Weak" - which means chest may be away as far as 4 cells. Unlike original game, distance is calculated as difference in x + y coordinates. (p.s I can make instructions which player can read at any time).

Please let me know if you're interested.

Ak-cli commented 2 years ago

By the way, I am more than happy to contribute if you have some other game ideas that I can make.