Skip to content

Raskolnikoff-D-503/snake-game

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn

snake-game


snake-game

The Snake Game
Explore the docs »

View Demo · Report Bug · Request Feature

About The Project

A fun to play Snake Game! At some point I wanted to play a snake game and decided to create one instead. The speed of a snake is 1 cell per 100 ms, which to me seems like a perfect speed. The size of the board is 625 cells.

image

I also integrated a leaderboard feature to record all my best scores: this feature uses local storage, saving score and sub index of a score as a key and input value as a value.

image

It's pretty simple project but I had so much fun doing it.

Built With

  • TypeScript
  • React
  • SASS
  • Webpack

Installation

  1. Clone the repo
    git clone https://github.com/Raskolnikoff-D-503/snake-game.git
  2. Install NPM packages
    npm install
  3. Run Webpack build to enable fonts
    npm run build
  4. Run Webpack serve
    npm run dev

Roadmap

  • Add documentation
  • Refactor Controller component (using custom hooks, for example)

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Evgeny Gaag - [email protected]