REPOSITORY OVERVIEWLive repository statistics
★ 6Stars
⑂ 0Forks
◯ 0Open issues
◉ 6Watchers
40/100
OPENREPOHUB HEALTH SIGNALLimited signals
A transparent discovery signal based on current public GitHub metadata.
Recent activity35% weight
10 Community adoption25% weight
12 Maintenance state20% weight
100 License clarity10% weight
100 Project information10% weight
35 This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
README preview
Snake, Water, Gun Game (Python)
A fun and beginner-friendly Python terminal game where the player competes against the computer in a game of Snake, Water, and Gun — a twist on the classic Rock, Paper, Scissors.
Game Rules
- Snake drinks Water → Snake wins
- Water douses Gun → Water wins
- Gun kills Snake → Gun wins
- If both choose the same option, it's a draw
How to Play
- Make sure Python 3 is installed on your computer
- Download or clone this repository
- Open the file
main.py in your code editor (like VS Code)
- Run the game in terminal:
python main.py
- When prompted, enter:
s for Snake
w for Water
g for Gun
- The computer randomly selects one too, and the winner is shown
Features
- Random computer moves
- User input via keyboard
- Instant win/loss/draw result
- Dictionary-based logic
- Easy to extend or customize
Concepts Used
input() for user input
random.choice() for computer move
if/elif/else conditional logic
- Python dictionaries for mapping
Sample Output
Enter your choice: s
You chose Snake
Computer chose Gun
You Lose!
📁 File Structure
snake-water-gun-game/
│
├── main.py # Python script to run the game
└── README.md # Project documentation (this file)
Author
Developed by Aditya Dasappanavar
This is a beginner-level project built for learning and practice.
License
This project is licensed under the MIT License. See LICENSE for details.
ALGORITHMICALLY RELATEDSimilar Open-Source Projects
Selected from shared topics, language and repository description—not editorial ratings.
Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.
95/100 healthRecently updatedPopularActive repositoryHas homepage
PythonGPL-3.0#ansible#python
⑂ 24.2K forks◯ 811 issuesUpdated today
Project homepage ↗A simple, yet elegant, HTTP library.
99/100 healthRecently updatedPopularActive repositoryHas homepage
PythonApache-2.0#client#cookies#forhumans#http
⑂ 10K forks◯ 234 issuesUpdated today
Project homepage ↗