An open API service indexing awesome lists of open source software.

https://github.com/tariqkichawele/snake_game

A replica for the famous snake game
https://github.com/tariqkichawele/snake_game

Last synced: 2 months ago
JSON representation

A replica for the famous snake game

Awesome Lists containing this project

README

        

# Nokia 3310 Snake Game

Welcome to the Nokia 3310 Snake Game! This classic game project is built using HTML, CSS, and Vanilla JavaScript, offering a nostalgic gaming experience reminiscent of the iconic Nokia 3310 mobile phone. The game is mobile responsive, allowing users to enjoy playing on various devices.

![Screenshot 2024-05-13 at 12 32 03 PM](https://github.com/TariqKichawele/snake_game/assets/105932024/d20b551f-1873-4655-9943-2afb168c31d6)

**TECNOLOGIES USED**

**Frontend:**
- HTML: The markup language used for structuring the game's user interface.
- CSS: Cascading Style Sheets used for styling the game interface.
- Vanilla JavaScript: Pure JavaScript used for game logic and interactivity.

**Controls**

**Desktop Controls:**
- Use the arrow keys (↑, ↓, ←, →) to control the direction of the snake's movement.
- Press the spacebar to pause and resume the game.

**Mobile Controls:**
- Swipe up, down, left, or right on the screen to control the direction of the snake's movement.
- Tap anywhere on the screen to pause and resume the game.

**Gameplay**
- Objective: Guide the snake to eat food (represented by a dot) while avoiding collisions with the walls of the game area or the snake's own body.
- Scoring: Each time the snake eats food, its length increases, and the player earns points. The game ends when the snake collides with a wall or itself.
- Speed: The speed of the snake gradually increases as the game progresses, providing a more challenging gameplay experience.

**Installation**
To play the Nokia 3310 Snake Game locally, follow these steps:

Clone the repository:

bash
Copy code
git clone https://github.com/your-username/nokia-3310-snake-game.git
Open the index.html file in your preferred web browser to start playing the game.

**Demo**

You can play the live demo of the Nokia 3310 Snake Game here.

**Contributing**

Contributions to the Nokia 3310 Snake Game project are welcome! If you'd like to contribute, please fork the repository, make your changes, and submit a pull request following the guidelines outlined in the CONTRIBUTING.md file.

**License**

This project is licensed under the MIT License.

**Contact**

For any inquiries or feedback regarding the Nokia 3310 Snake Game project, please contact Tariq Kichawele.