Skip to content

avindra/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

67 Commits

Repository files navigation

SnakeBuild Status

It is an implementation of the game of snake using reference JavaScript, and<canvas>for graphical output. The codebase uses Typescript (mostly for a handful ofinterfacedescriptions.)

There is experimental sound: unplug your headphones to rip beeps over your speakers.

Click to play 🐍!

Development

AMakefileis included for convenience.

esbuildis used to build/bundle.

denois used for unit testing.

  • runmake buildto build/bundle
  • runmake devto get a watch/recompile workflow (requires Python 3 for http server)
  • rundeno test srcto run unit tests
    • Unit tests are co-located into src/