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 …