Skip to content

Ashishkuldeep23/snake-water-gun

 
 

Repository files navigation

Snake-Water-Gun: Using Python

This is a very quick and Easy Snake Water Gun game which is very much similar to stone paper scissor.
This is a good program to play the snake water gun game offline.
This program is a part of python tutorials for absolute beginners series by CodeWithHarry youtube channel. I hope that you will enjoy the game. Cheers !

How this game work

Single player can play this game with the computer.
And the Rules are-

  • You have to type "S" for snake "W" for water and "G" for gun.
  • You can play ten matches and last you get wins that you get out of 10.

External modules/dependencies:

  • playsound --> pip install playsound == For playing music on wins or losses.
  • Music files: (Find them above)
    • Fart.mp3
    • bruhh.mp3
    • Nope.mp3
    • anime wow.mp3
    • Awkward Cricket.mp3

Make sure the music files are in the current working directory or provide the full path to those music files in functions winning_music, losing_music, tie_music. If you don't do so, the FileNotFound error will occur.

Here is the opponent contributed

@Author:

Name : NIKHIL RAJ PANDEY
class : VIII
Age : 12 years

@Contributors:

  • AdiOP07
  • Krishjain2911
  • Manas-K-Patil
  • Vaishnavi280
  • shashank-kumar
  • Shivam Amin
  • Shravan-1908

Please add your name in contributors file if you have contributed.
And also try to contribute in code as possible because it is difficult for me to choose between multiple documentations or comments

Run the code in python and enjoy.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%