Skip to content

Development

Kirill Reunov edited this page Jan 4, 2021 · 2 revisions

1. Setting up a working environment

To build the game, you need to have installed LTS version of Node.js & npm.

Open the folder with the project and install all the dependencies using this command:

npm install

2. Building game in development mode

The game is written in TypeScript and built using the bundler called Parcel. To start development mode, run this command:

npm run dev

All temporary files will be stored in dev folder.

3. Building game in production mode

To build a game for the end user, run this command:

npm run build

All files for hosting will be stored in build folder.