"A simple Python game based on the classic Snake, Water, Gun logic (similar to Rock, Paper, Scissors). Play against the computer, where Snake drinks Water, Gun kills Snake, and Water damages Gun. Beginner-friendly project to practice Python basics, random module, and conditional logic."
- Snake drinks Water → Snake wins
- Water douses Gun → Water wins
- Gun shoots Snake → Gun wins
- If both choices are the same → It's a draw
- Play against the computer
- Randomized computer moves
- Simple command-line interface
- Beginner-friendly Python code
- Clone this repository:
git clone <https://github.com/hrx01-dev/SNAKE-WATER-GUN-GAME-.git>
- Navigate into the project folder:
cd snake-water-gun
- Run the Python file:
python ex6.py
🛠 Requirements
Python 3.x
No additional libraries are required.
📖 Example Gameplay
Enter your choice (snake/water/gun): snake
Computer chose: gun
Result: You lose! Gun shoots Snake.
📌 Future Improvements
Option to play against another player