Welcome to the py-snake project! This repository is a fun and engaging coding challenge or project that leverages web technologies like HTML, JavaScript, and CSS.
This project is a web-based Snake Game built using HTML, JavaScript, and CSS. The goal of the game is to control the snake and collect as much food as possible without colliding with the walls or the snake's own body.
- Interactive gameplay with classic Snake mechanics.
- Responsive design for compatibility across devices.
- Simple and clean code structure for easy customization.
- Fun animations and styles to enhance the gaming experience.
To get a local copy up and running, follow these steps:
-
Clone the repository:
git clone https://github.com/Cesar-Gabriel/py-snake.git cd py-snake -
Open the game:
- Open the
index.htmlfile in your preferred web browser.
- Open the
- Use the arrow keys on your keyboard to control the snake's direction.
- Collect the food to grow your snake and increase your score.
- Avoid hitting the walls or the snake's own body.
- Try to achieve the highest score possible!
Contributions are welcome! If you'd like to improve the game or add new features, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature-name
- Commit your changes:
git commit -m "Add feature-name" - Push to your branch:
git push origin feature-name
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.