Welcome to the Retro Snake Game! This project brings back the classic fun of the snake game with a nostalgic retro twist. 🕹️ Relive the joy of 8-bit style gaming with this JavaScript-based snake game, styled to feel like you're playing on an old-school arcade machine!
- 🎮 Classic Snake Gameplay: Guide the snake, collect food, and avoid hitting walls or your own body!
- 🌈 Retro Pixel Design: The game features pixelated fonts, vibrant neon colors, and a grid-based board that harks back to the golden age of gaming.
- 📈 High Score Tracking: Your high score is saved locally, so you can keep trying to beat your best record!
- 💻 Responsive Design: Works smoothly on both desktop and mobile devices. Tap the on-screen controls on smaller screens!
- Start the game by pressing any arrow key:
⬆️⬇️⬅️➡️. - Control the snake using the arrow keys on your keyboard:
⬆️orW- Move Up⬇️orS- Move Down⬅️orA- Move Left➡️orD- Move Right
- Eat the food 🍎 to grow longer and score points.
- Avoid crashing into the walls or yourself, or it’s game over! 💥
To get started with the Retro Snake Game on your local machine:
-
Clone the repository:
git clone https://github.com/your-username/retro-snake-game.git
-
Navigate to the project directory:
cd retro-snake-game -
Open the game in your favorite browser:
- Double-click the
index.htmlfile or run a local server using:npx serve
- Then, go to
http://localhost:5000in your browser!
- Double-click the
- HTML5: Structure of the game.
- CSS3: Retro-inspired styling and grid layout for the snake board.
- JavaScript (ES6): Game logic for controlling the snake, tracking scores, and handling game states.
Your high score is saved locally! Every time you play, your best score is stored so you can keep coming back to challenge yourself. 🏆
The game design is inspired by retro aesthetics, using pixelated fonts and vibrant colors reminiscent of arcade games from the 80s. Enjoy the nostalgic feel! 💾
If you find any bugs or issues, please feel free to open an issue.
Contributions, issues, and feature requests are welcome! Feel free to check the issues page if you want to contribute.
This project is licensed under the MIT License. See the LICENSE file for details.
Hope this works for your README!
