This is a simple Snake game created using JavaScript. It is a demonstration of using HTML, CSS, and JavaScript to create a game.
To play the game, follow these steps:
- Clone the repository to your local machine.
- Open the
index.htmlfile in a web browser. - Use the arrow keys to control the water and put out the fire to grow.
- Avoid hitting the walls or yourself.
- HTML
- CSS
- JavaScript
- The game board is 35x35 grid.
- The water starts with a length of 1 and grows when it extinguishes fire.
- The game ends when the water hits the wall or itself.
- The number of extinguished fires is displayed at the end of the game.
This project is licensed under the MIT License - see the LICENSE file for details.