AlfonzAlfonz / czech-civilwar-bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cover

Czech civil war bot

Facebook bot inspired by World war bot.

Requirements

Installation

  1. Run yarn command in project directory
  2. Rename .env.dist to .env (required for posting to Facebook)

Commands

Basic commands

  • yarn web - Launches web version of CCWB
  • yarn render - Renders entire game to render folder
  • yarn post - Schedules post of the game from render folder to a Facebook page
  • yarn simulate - Simulates x games and prints out number of win for each region

Additional commands

  • yarn initData - Create empty mapdata.json template
  • yarn checkIntegrity - Validates adjacent regions in mapdata.json file

About


Languages

Language:TypeScript 88.2%Language:HTML 8.6%Language:JavaScript 3.2%