Welcome to the Snake Water Gun Game repository! This project contains a simple implementation of the classic Snake Water Gun game in Python.
This Python script allows you to play the Snake Water Gun game against the computer. Each round, you and the computer choose between Snake, Water, or Gun, and the winner is determined based on the choices made.
- Simple text-based interface
- Player vs. Computer gameplay
- Score tracking
- Game ends when one player reaches 5 points
- Python 3.x
-
Clone the repository:
git clone https://github.com/iamRUDRAKSH/snakewatergun.git
-
Navigate to the project directory:
cd snakewatergun
-
Run the Snake Water Gun Game script:
python snakewatergun.py
-
Follow the on-screen instructions to play the game.
- Enter your name when prompted.
- Choose 's' for Snake, 'w' for Water, or 'g' for Gun.
- The computer will randomly select its choice.
- The winner of each round is determined by the rules of the game.
- The game continues until one player reaches 5 points.
- You can quit the game at any time by pressing
Ctrl + C
.
Contributions are welcome! If you have an improvement or a new feature to add, please fork the repository, create a new branch, and submit a pull request.
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature
). - Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature/your-feature
). - Create a new Pull Request.
For any questions, suggestions, or issues, please open an issue on GitHub or contact me directly at [your email address].
Happy gaming!