Posts
Members
Info
How do I play from a local installation?
If you prefer to install @warriorjs/cli locally instead of globally, follow these steps: 1. Create the directory where you want the game to be installed: mkdir warriorjs 2. Move on to that directory: cd warriorjs …
0
How do I organize my code into modules?
Splitting your player code into modules is currently not supported in WarriorJS. However, you can easily achieve the same results with the help of Rollup. 1. Install Rollup: npm install --global rollup 2. In your profile directory, create a src directory …
0