This is a Chess game made using Phaser 3 with TypeScript implementing Object-Oriented Programming
Command | Description |
---|---|
npm install |
Install project dependencies |
npm start / npm run dev |
Builds project and open web server, watching for changes |
npm run build |
Builds code bundle with production settings |
npm serve |
Run a web server to serve built code bundle |
After cloning the repo, run npm install
from your project directory. Make a copy of .env.example
and name it .env
. Then, you can start the local development
server by running npm start
and navigate to http://localhost:3000.
After running npm run build
, the files you need for production will be on the dist
folder. To test code on your dist
folder, run npm run serve
and navigate to http://localhost:5000