Skip to content

XBattleFan/FloBot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generals.io-Bot

Ai for the online strategy game http://bot.generals.io/ (See dev doc for reference: http://dev.generals.io/)

The bot is running under the name [Bot] Flobot in 1v1 and consistantly sits on rank 2.

Another instance is playing Free For All([Bot] FLOBOT9000) where it reached #1.

How to use

You need a config.js file in the main directory, that looks like:

let config = {};

config.user_id = 'myid';
config.username = '[Bot] MyBotName';
config.custom_game_id = 'MyRoomName';

config.user_idFFA = 'myFFAid';
config.usernameFFA = '[Bot] MyFFABotName';

module.exports = config;

Run the bot:

node app.js			//start in custom game lobby
node app.js -o		//one vs one lobby
node app.js -f		//free for all lobby

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%