This is a game that's like 2048, but not too much. Built on top of the barebones Excalibur game engine starter template.
WASD or arrow keys: move in that direction
smushing together blocks that have the same value will combine them
that's it!
(these are just from the template)
- Using Node.js 14 (LTS) and npm
- Run the
npm installto install dependencies - Run the
npm startto run the development server to test out changes- Webpack will build the Typescript into Javascript
- Webpack dev server will host the script in a little server on http://localhost:8080/
- Run
npm run build:devto produce Javascript bundles for debugging in thedist/folder - Run
npm run build:prodto produce Javascript bundles for production (minified) in thedist/folder
The dist/ folder can be deployed to a static web host. We recommend Netlify or GitHub Pages since they are free to use.