Thre3 is a 2d puzzle game where you play as a mouse used by a crazy scientist in his experiments. Your goal is to reach the cheese, avoiding all obstacles the scientist set up.
The game can be played online.
Thre3 is written in typescript based on Phaser 3 and is based on the Phaser 3 TypeScript Project Template.
The game is released to github pages automatically when changes are pushed to the main branch, allowing everyone to easily play the latest stable version.
Parts of Thre3 can run headless using node. This can be used in unit tests or to find optimal solution paths.
Node.js is required to install dependencies and run scripts via npm
.
Command | Description |
---|---|
npm install |
Install project dependencies |
npm run watch |
Build project and open web server running project, watching for changes |
npm run dev |
Builds project and open web server, but do not watch for changes |
npm run build |
Builds code bundle with production settings (minification, no source maps, etc..) |
npm run headless -- [args] |
Builds code bundle for running Thre3 headless using node. |