{"_id":"@corsaircoalition/flobot","_rev":"4-c23a694b4368f2443ab912155e3218b1","name":"@corsaircoalition/flobot","dist-tags":{"latest":"6.0.0"},"versions":{"5.1.0":{"name":"@corsaircoalition/flobot","version":"5.1.0","description":"reference bot implementation for generals.io using a combination of heuristics and graph algorithms","main":"out/app.js","type":"module","dependencies":{"commander":"^10.0.0","redis":"^4.6.5","socket.io-client":"^4.6.2","sterta":"^2.2.1","typescript":"^4.9.5"},"devDependencies":{"@sindresorhus/tsconfig":"^3.0.1","@types/node":"^18.15.3"},"bin":{"flobot":"out/app.js"},"scripts":{"build":"tsc --build","clean":"tsc --build --clean","prepare":"npm run build","start":"node out/app.js"},"repository":{"type":"git","url":"git+https://github.com/CorsairCoalition/Flobot.git"},"publishConfig":{"access":"public"},"keywords":["generals.io","bot","node.js","javascript","ai"],"author":{"name":"Aaditya Bhatia"},"license":"Apache-2.0","homepage":"https://corsaircoalition.github.io/","_id":"@corsaircoalition/flobot@5.1.0","gitHead":"bb94b36be94b6346c1ea8ddb9566e00cdf65fa35","types":"./out/app.d.ts","bugs":{"url":"https://github.com/CorsairCoalition/Flobot/issues"},"_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-d9t6ujwxe5s2LmDWwxbA8R7TY/dko0uZfjafebQPUuLI/4mQRbbCYfWMNrJpQ+Cyq5rusYgVvR1chVc/4frftQ==","shasum":"d0be857a6139b3fc60af4523d7dba3be5a2ba76c","tarball":"https://registry.npmjs.org/@corsaircoalition/flobot/-/flobot-5.1.0.tgz","fileCount":51,"unpackedSize":113739,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBajGUNuWAsHSE2d7caLYaJJIxuUvdfLje9QqmDF1Q1EAiEAyTmR1abEQKL0DroxCMFDBwwIyUd5JDfbxvyni7SrWek="}]},"_npmUser":{"name":"aaditya","email":"aadityabhatia@gmail.com"},"directories":{},"maintainers":[{"name":"aaditya","email":"aadityabhatia@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flobot_5.1.0_1691089379425_0.15194128499210957"},"_hasShrinkwrap":false},"5.1.1":{"name":"@corsaircoalition/flobot","version":"5.1.1","description":"reference bot implementation for generals.io using a combination of heuristics and graph algorithms","main":"out/app.js","type":"module","dependencies":{"commander":"^10.0.0","redis":"^4.6.5","socket.io-client":"^4.6.2","sterta":"^2.2.1","typescript":"^4.9.5"},"devDependencies":{"@sindresorhus/tsconfig":"^3.0.1","@types/node":"^18.15.3"},"bin":{"flobot":"out/app.js"},"scripts":{"build":"tsc --build","clean":"tsc --build --clean","prepare":"npm run build","start":"node out/app.js"},"repository":{"type":"git","url":"git+https://github.com/CorsairCoalition/Flobot.git"},"publishConfig":{"access":"public"},"keywords":["generals.io","bot","node.js","javascript","ai"],"author":{"name":"Aaditya Bhatia"},"license":"Apache-2.0","homepage":"https://corsaircoalition.github.io/","_id":"@corsaircoalition/flobot@5.1.1","gitHead":"cc8d411d44f722436f031e8a3d412c222ff85a60","types":"./out/app.d.ts","bugs":{"url":"https://github.com/CorsairCoalition/Flobot/issues"},"_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-9gG4CN1z6Q3u/NJjl3c8+0VypMdm7YDcDxSEyAY3UorhKLtp6uSnHY+NWz/BZ8f4t1wkFojgRZ9+7QP2D6Bb6w==","shasum":"d4938ab2c94ea65e4438ede638051d0cb561ee3b","tarball":"https://registry.npmjs.org/@corsaircoalition/flobot/-/flobot-5.1.1.tgz","fileCount":51,"unpackedSize":113780,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0AoWrMp/XXhS5PU1p4S7LZ4YOlcwZaDWYe/R5djzv1gIhAL7NXok+PicuLHxgAznCRGngCKNMCqQ55IYzyLjSUZJs"}]},"_npmUser":{"name":"aaditya","email":"aadityabhatia@gmail.com"},"directories":{},"maintainers":[{"name":"aaditya","email":"aadityabhatia@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flobot_5.1.1_1691089687622_0.39095207344783844"},"_hasShrinkwrap":false},"5.1.2":{"name":"@corsaircoalition/flobot","version":"5.1.2","description":"reference bot implementation for generals.io using a combination of heuristics and graph algorithms","main":"out/app.js","type":"module","dependencies":{"commander":"^10.0.0","redis":"^4.6.5","socket.io-client":"^4.6.2","sterta":"^2.2.1","typescript":"^4.9.5"},"devDependencies":{"@sindresorhus/tsconfig":"^3.0.1","@types/node":"^18.15.3"},"bin":{"flobot":"out/app.js"},"scripts":{"build":"tsc --build","clean":"tsc --build --clean","prepare":"npm run build","start":"node out/app.js"},"repository":{"type":"git","url":"git+https://github.com/CorsairCoalition/Flobot.git"},"publishConfig":{"access":"public"},"keywords":["generals.io","bot","node.js","javascript","ai"],"author":{"name":"Aaditya Bhatia"},"license":"Apache-2.0","homepage":"https://corsaircoalition.github.io/","_id":"@corsaircoalition/flobot@5.1.2","gitHead":"843d1fab572c3f723fd2316ecb30108ccdc8711d","types":"./out/app.d.ts","bugs":{"url":"https://github.com/CorsairCoalition/Flobot/issues"},"_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-6Kg86dviv8lMuwUE5EFeg1zvkrsOGTipPgMKiQ+sJ2WjRjrT0w07taUZahon2WW3oI1JkWsJJb+gduKuTVcLAg==","shasum":"39788b940d07191e72d02efdc3e3dd787145c256","tarball":"https://registry.npmjs.org/@corsaircoalition/flobot/-/flobot-5.1.2.tgz","fileCount":51,"unpackedSize":113763,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC+NXTMNEIvpIiWr+TKIb2noA+2yWN+dAFRlhi4y8y0YAiEAtFN0vBkjbBDqD+vNGeEW7dogMKX1lLlNqMYMCGjq1zo="}]},"_npmUser":{"name":"aaditya","email":"aadityabhatia@gmail.com"},"directories":{},"maintainers":[{"name":"aaditya","email":"aadityabhatia@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flobot_5.1.2_1691089952652_0.6978557996332837"},"_hasShrinkwrap":false},"5.2.0":{"name":"@corsaircoalition/flobot","version":"5.2.0","description":"reference bot implementation for generals.io using a combination of heuristics and graph algorithms","main":"out/app.js","type":"module","dependencies":{"commander":"^10.0.1","redis":"^4.6.7","socket.io-client":"^4.7.2","sterta":"^2.2.1","typescript":"^4.9.5"},"devDependencies":{"@sindresorhus/tsconfig":"^4.0.0","@types/node":"^20.4.10"},"bin":{"flobot":"out/app.js"},"scripts":{"build":"tsc --build","clean":"tsc --build --clean","prepare":"npm run build","start":"node out/app.js"},"repository":{"type":"git","url":"git+https://github.com/CorsairCoalition/Flobot.git"},"publishConfig":{"access":"public"},"keywords":["generals.io","bot","node.js","javascript","ai"],"author":{"name":"Aaditya Bhatia"},"license":"Apache-2.0","homepage":"https://corsaircoalition.github.io/","_id":"@corsaircoalition/flobot@5.2.0","gitHead":"f8a966a124de2db907331c1104e19d3326734289","types":"./out/app.d.ts","bugs":{"url":"https://github.com/CorsairCoalition/Flobot/issues"},"_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-SnBtpY0egh/+qnFPYVtF8DgkyQJaQeS1iMWbat5o+AJi/R2PZVJAJwyJuJVtWGBIXBBSIX4lPv21hcHbYDnxcQ==","shasum":"35e9b8252830de0ddb719755bacbf4dd0a5f4558","tarball":"https://registry.npmjs.org/@corsaircoalition/flobot/-/flobot-5.2.0.tgz","fileCount":51,"unpackedSize":115535,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGNRuHFI12GtSZ6MQ15FY9AWU4+Y4yU3pAz9Lvh9IVp5AiEAq2IhsY713OgWPn5Sg0DIuY4hk/FG+u6c+zlFeGyhJDU="}]},"_npmUser":{"name":"aaditya","email":"aadityabhatia@gmail.com"},"directories":{},"maintainers":[{"name":"aaditya","email":"aadityabhatia@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flobot_5.2.0_1691858879394_0.429232871801998"},"_hasShrinkwrap":false},"6.0.0":{"name":"@corsaircoalition/flobot","version":"6.0.0","description":"reference bot implementation for generals.io using a combination of heuristics and graph algorithms","main":"out/app.js","type":"module","dependencies":{"@corsaircoalition/common":"^1.3.2","commander":"^11.0.0","socket.io-client":"^4.7.2","sterta":"^2.2.1","typescript":"^5.1.6"},"devDependencies":{"@sindresorhus/tsconfig":"^4.0.0","@types/node":"^20.4.10"},"bin":{"flobot":"out/app.js"},"scripts":{"build":"tsc --build","clean":"tsc --build --clean","prepare":"npm run build","start":"node out/app.js"},"repository":{"type":"git","url":"git+https://github.com/CorsairCoalition/Flobot.git"},"publishConfig":{"access":"public"},"keywords":["generals.io","bot","node.js","javascript","ai"],"author":{"name":"Aaditya Bhatia"},"license":"Apache-2.0","homepage":"https://corsaircoalition.github.io/","_id":"@corsaircoalition/flobot@6.0.0","gitHead":"0d79c32dc97e7049b67face3202593f44937b1e3","types":"./out/app.d.ts","bugs":{"url":"https://github.com/CorsairCoalition/Flobot/issues"},"_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-AIZOg9rWm7Rx5KlzO1BVGAB/Dzs+AcyitSNj0f5lZCP8r5bfQgiqEUWbNmOTxrepO2OWjHrDqIFkYx8Gb16Giw==","shasum":"f26bfc630757e60c2583aca688c96867f015683b","tarball":"https://registry.npmjs.org/@corsaircoalition/flobot/-/flobot-6.0.0.tgz","fileCount":45,"unpackedSize":103437,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHQiCopP9sr3l8eQmYlCSydeuzXb8T7ySLwDsE3/2YqmAiB8MrQWvfeiqibFmBZC97u/uJAAdzyk19Y7SSpJ/ieCqw=="}]},"_npmUser":{"name":"aaditya","email":"aadityabhatia@gmail.com"},"directories":{},"maintainers":[{"name":"aaditya","email":"aadityabhatia@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/flobot_6.0.0_1691864474762_0.17120428926177111"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-03T19:02:59.342Z","5.1.0":"2023-08-03T19:02:59.589Z","modified":"2023-08-12T18:21:15.154Z","5.1.1":"2023-08-03T19:08:07.800Z","5.1.2":"2023-08-03T19:12:32.884Z","5.2.0":"2023-08-12T16:47:59.601Z","6.0.0":"2023-08-12T18:21:14.962Z"},"maintainers":[{"name":"aaditya","email":"aadityabhatia@gmail.com"}],"description":"reference bot implementation for generals.io using a combination of heuristics and graph algorithms","homepage":"https://corsaircoalition.github.io/","keywords":["generals.io","bot","node.js","javascript","ai"],"repository":{"type":"git","url":"git+https://github.com/CorsairCoalition/Flobot.git"},"author":{"name":"Aaditya Bhatia"},"bugs":{"url":"https://github.com/CorsairCoalition/Flobot/issues"},"license":"Apache-2.0","readme":"# Flobot\n\n[generals.io](https://generals.io/) is a fast-paced strategy game where you expand your land and battle with enemies over theirs. You lose when your general is taken, but capturing an opponent's general gives you control of their entire empire.\n\nThis bot is an AI agent that competes on the [generals.io bot server](https://bot.generals.io/). It is used to provide a consistent adversary while testing other bots.\n\nSee [Generally Genius](https://corsaircoalition.github.io/) (GG) framework to develop your own bot!\n\n## Configuration\n\nDownload `config.example.json` from the [documentation repository](https://github.com/CorsairCoalition/docs) and make desired changes.\n\n## Execution\n\nInstall and run the executable:\n\n```sh\nnpm install -g @corsaircoalition/flobot\nflobot config.json\n```\n\nor run directly from npm library:\n\n```sh\nnpx @corsaircoalition/flobot config.json\n```\n\nor use docker:\n\n```sh\ndocker run -it -v ./config.json:/config.json ghcr.io/corsaircoalition/flobot:latest\n```\n\n## Usage\n\n```\nUsage: @corsaircoalition/flobot [options] <configFile>\n\nreference bot implementation for generals.io using a combination of heuristics and graph algorithms\n\nOptions:\n  -V, --version                   output the version number\n  -n, --number-of-games <number>  number of games to play (default: \"1\")\n  -d, --debug                     enable debugging (default: false)\n  -h, --help                      display help for command\n```\n","readmeFilename":"README.md"}