Skip to content

This project reproduces the old pixelated style snake game. I used HTML, CSS and Javascript to build it.

Notifications You must be signed in to change notification settings

Xavier-Hsiao/snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

About the project

Almost everyone, at least of my generation, played snake game on Nokia mobile phone before. This project reproduces that experience using HTML, CSS and JavaScript.

How to play the game?

First press space key to start the game then use your keyboard to control the snake. Eat food as much as you can until hitting the walls or touching your tail.

The top-right corner will display your current score and after your first attempt, the top-left corner will show up the latest high score record.

By the way, the logo was AI-generated by using Freepik service.

🐍 Start playing with the link below 🐍

Live demo

https://xavier-hsiao.github.io/snake-game/

Screenshots

screenshot1

screenshot2

About

This project reproduces the old pixelated style snake game. I used HTML, CSS and Javascript to build it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published