Skip to content

ME-YOU-SICK/Snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake-game

Snake Game is a classic arcade game where you control a snake to eat food and grow longer. This version of the game includes power-ups, obstacles, special food, and a high score system.

Snake Game Screenshot

Features

Control the snake using the arrow keys on your keyboard. Eat food to increase your score and snake's length. Collect power-ups to earn additional points. Avoid obstacles, colliding with them will result in game over. Special food items provide a higher score than regular food. The game keeps track of the highest score achieved. Play and enjoy the nostalgic gameplay of the classic Snake Game!

How to Play

Open the game in a web browser. Use the arrow keys on your keyboard to control the snake. Guide the snake to eat food and grow longer. Collect power-ups for additional points. Avoid obstacles, as colliding with them will end the game. Aim for a high score and challenge yourself to beat your previous record.

Getting Started

To run the Snake Game locally, follow these steps:

Clone this repository to your local machine. Open the snake_game.html file in a web browser.

Use the arrow keys to control the snake and enjoy the game!

Customization

Feel free to customize the game to your liking:

Modify the game's visuals by modifying the CSS code in the style.css file. Adjust the game logic or add new features by modifying the JavaScript code in the script.js file. Experiment with different colors, power-up behaviors, or obstacle placements to create your own unique version of the game.

Credits

This Snake Game implementation was created using HTML, CSS, and JavaScript.

HTML provides the structure and layout of the game. CSS is responsible for styling the game elements and the overall appearance. JavaScript handles the game logic, including snake movement, collision detection, and scoring. The game was developed based on the classic Snake Game concept.

License

This project is licensed under the MIT License. Feel free to use and modify the code for personal or commercial purposes.

Acknowledgements

The Snake Game concept is a classic arcade game that has been enjoyed by many players over the years. The game development process was inspired by various online tutorials and resources available in the web development community.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors