Skip to content

derekmisler/snake

Repository files navigation

Snaaaaaake!

The game of snake, written in vanilla JS.

To run locally:

git clone https://github.com/derekmisler/snake.git
cd snake
npm install
npm start

App structure:

  dist/ <!-- This is what gets deployed after building -->
  src/
    components/ <!-- These update the view -->
    constants/ <!-- This contains settings -->
    styles/ <!-- SCSS -->
      components/ <!-- These represent the view -->
      constants/ <!-- This contains variables and settings -->
      utils/ <!-- This contains functions and mixins -->
    utils/ <!-- This is the primary location of the logic -->

Some notes:

  • No framework!
  • sessionStorage acts as the data store.
  • SCSS for styling.
  • Webpack for bundling.

About

Vanilla JS game of snake.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published