yarn
to install npm modules- then
yarn start
to start a new game
if you don't have yarn, here's how to install it:
brew install yarn
or
sudo port install yarn
yarn test:unit
- if using WebStorm's test runner (like I do), all you need is to set it to the unit test directory then add this for mocha options:
--recursive -r @babel/register ./src/test/test.imports -w
The modules in this game are all done via JS Closures.