https://www.codingame.com/ide/puzzle/tron-battle
Simple flood fill algorithms based on greater available filled area.
Score: 17.48
npm install
npm run local
npm run bundle
Generate bundle, copy and paste the bundle.js file to codingame console and see the magic happening
.
├── __tests__ # Tests
├── src
├── bot.js # Algorithms
├── constants.js # Basic information about board
├── helpers.js # Just helper's function
├── main.js # Responsible to call bot and runner
├── runner.js # Simulate all steps of codding game
└── README.md