Skip to content

Adeeba-Shahzadi/SnakeWaterGun-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Snake Water Gun Game Using Python

A Python console-based Snake Water Gun game where you play against the computer with an interactive menu, instruction page, and score tracking system.


πŸ“– Overview

This is a simple Python project that simulates the classic Snake Water Gun Game, a fun twist on Rock-Paper-Scissors. The game offers an interactive Main Menu, Instruction Page, and allows the user to play multiple rounds against the computer. The game logic is designed using functions and loops to ensure clean modular code, suitable for beginners learning Python projects.


πŸ“œ Game Rules:

  1. You have 3 choices:

    • 🐍 Snake
    • πŸ’§ Water
    • πŸ”« Gun
  2. Winning Rules:

    • Snake drinks Water β†’ Snake Wins
    • Gun shoots Snake β†’ Gun Wins
    • Water spoils Gun β†’ Water Wins
  3. The game is played against the Computer.


πŸ–₯️ Features:

  • Interactive Main Menu (Play, Instructions, Exit)
  • Instruction Page with rules and warnings.
  • Play multiple rounds in a single session.
  • Score tracking for both Player and Computer.
  • Clean code structure using functions and loops.
  • Fun random choices for the computer opponent.
  • Friendly user interface with loading effects (time delays).

πŸ›  Requirements

To run this project, ensure you have:

  • Python 3.x installed on your system.
  • No external libraries or packages are required.
    The project uses only Python's built-in modules:
    • random (for computer choices)
    • time (for small delays and better UX)

About

A Python console-based Snake Water Gun game with an interactive menu and score tracking against the computer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages