Skip to content

About

"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."

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Snake Water Gun Game 🐍💧🔫

"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."

📌 How the Game Works

  • 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

🚀 Features

  • Play against the computer
  • Randomized computer moves
  • Simple command-line interface
  • Beginner-friendly Python code

▶ How to Run

  1. Clone this repository:
    git clone <https://github.com/hrx01-dev/SNAKE-WATER-GUN-GAME-.git>
    
  2. Navigate into the project folder:

cd snake-water-gun

  1. 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

About

"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."

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages