Glitch or die trying
A simple game where you play a square trying to find its way out different levels. The problem is, it's almost always impossible without glitching (i.e. entering commands in the console).
npm install
npm run dev
open
dist/index.html
in browseropen
src/unit-tests.html
in other tab and check all tests are good before commit
To add a new test, add a new spec file and export it in src/mainSpec.js
. F5 in browser must show new tests.
Default build uses uglify to minify js files. Html and css files are also minified.
npm run build
To use google closure compiler instead of uglify for javascript minification
npm run build-google
Release will automatically rebuild the project and create a gzip file: game.gz
npm run release
To deploy a fresh version on team-thirtyfour.github.io/js13kgame.
npm run deploy
To debug minified files, add "-debug" to the earlier build tasks:
npm run build-debug