This is a simple, fun Snake-Water-Gun game built with HTML, CSS, and JavaScript. Test your luck against the computer in this classic game, where each choice—snake, water, or gun—competes to win according to a set of rules.
Play Now: Snake-Water-Gun Game
- Snake vs. Water: Snake drinks water → Snake wins.
- Water vs. Gun: Water douses gun → Water wins.
- Gun vs. Snake: Gun shoots snake → Gun wins.
- If both the player and computer select the same item, it’s a draw.
- Click on one of the options: Snake, Water, or Gun.
- The computer will make its choice randomly.
- The winner will be determined based on the game rules above, and the result will display on the screen.
If you'd like to run this game locally:
-
Clone the Repository:
git clone https://github.com/prajapati-satyam/snake-water-gun-game cd snake-water-gun-game