Skip to content

codewithYuvrajsingh/First-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 

Repository files navigation

Snake Water Gun Game ๐ŸŽฎ A simple Python-based Snake Water Gun game, similar to Rock-Paper-Scissors.

๐Ÿ“Œ Game Rules Snake drinks water โ†’ Snake wins ๐Ÿ๐Ÿ’ง

Water drowns gun โ†’ Water wins ๐Ÿ’ง๐Ÿ”ซ

Gun shoots snake โ†’ Gun wins ๐Ÿ”ซ๐Ÿ

If both choices are the same โ†’ It's a draw.

โ–ถ How to Play Run the Python script:

bash Copy Edit python snake_water_gun.py Choose one:

s โ†’ Snake ๐Ÿ

w โ†’ Water ๐Ÿ’ง

g โ†’ Gun ๐Ÿ”ซ

Computer will randomly choose, and the winner will be shown.

๐Ÿ’ป Example Output rust Copy Edit Enter your choice (s for Snake, w for Water, g for Gun): s Computer chose: g You lose! Gun shoots Snake! ๐Ÿ›  Requirements Python 3.x installed on your system.

๐Ÿ“œ License This project is for learning purposes. Feel free to use and modify.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages