Facebook bot inspired by World war bot.
- Run
yarn
command in project directory - Rename
.env.dist
to.env
(required for posting to Facebook)
Basic commands
yarn web
- Launches web version of CCWByarn render
- Renders entire game torender
folderyarn post
- Schedules post of the game fromrender
folder to a Facebook pageyarn simulate
- Simulates x games and prints out number of win for each region
Additional commands
yarn initData
- Create emptymapdata.json
templateyarn checkIntegrity
- Validates adjacent regions inmapdata.json
file