Skip to content

Welcome to the Snake Water Gun Game repository! This project contains a simple implementation of the classic Snake Water Gun game in Python.

Notifications You must be signed in to change notification settings

iamRUDRAKSH/snakewatergun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Snake Water Gun Game

Welcome to the Snake Water Gun Game repository! This project contains a simple implementation of the classic Snake Water Gun game in Python.

Description

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.

Features

  • Simple text-based interface
  • Player vs. Computer gameplay
  • Score tracking
  • Game ends when one player reaches 5 points

Getting Started

Prerequisites

  • Python 3.x

Usage

  1. Clone the repository:

    git clone https://github.com/iamRUDRAKSH/snakewatergun.git
  2. Navigate to the project directory:

    cd snakewatergun
  3. Run the Snake Water Gun Game script:

    python snakewatergun.py
  4. Follow the on-screen instructions to play the game.

How to Play

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

Contributing

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.

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature).
  3. Commit your changes (git commit -am 'Add new feature').
  4. Push to the branch (git push origin feature/your-feature).
  5. Create a new Pull Request.

Contact

For any questions, suggestions, or issues, please open an issue on GitHub or contact me directly at [your email address].

Happy gaming!

About

Welcome to the Snake Water Gun Game repository! This project contains a simple implementation of the classic Snake Water Gun game in Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages