Modern implementation of the classic Snake game using JavaScript and Canvas.
Play the game here: MinuteSnake
-
Install dependencies:
npm install
-
Build the project (development):
npm run build
The build configuration is now in
esbuild.config.js. -
Build the project for production (minified, no sourcemaps):
npm run build:prod
Start the build in watch mode for live development:
npm run build -- --watchOr use the shortcut:
npm run devRun the test suite:
npm run testStart a local development server:
npm run serve