A lightweight, terminal-based Python game inspired by the classic Snake-Water-Gun challenge — a creative twist on Rock-Paper-Scissors. Perfect for Python beginners and enthusiasts looking to build interactive CLI-based games.
Each player (you and the computer) selects one of the following options:
- 🐍 Snake (
s) drinks the water → Snake defeats Water - 💧 Water (
w) damages the gun → Water defeats Gun - 🔫 Gun (
g) kills the snake → Gun defeats Snake
If both choices are the same, the round is declared a draw.
| Symbol | Choice | Value |
|---|---|---|
s |
Snake | 1 |
w |
Water | -1 |
g |
Gun | 0 |
- Run the Python script in your terminal.
- Enter your choice:
s,w, org. - The computer will randomly choose one as well.
- The game will determine and display the winner!
To get a local copy up and running, execute the following command in your terminal:
git clone https://github.com/AbdullahJaveid/snake-water-gun-game.git