git clone 'https://github.com/tokox/connect4-bot.git'
cd connect4-bot
make connect4-bot
./connect4-bot
help
- print this file if exists in working directory, else print link to this file on github and exitstart
- engine to start the game. Default: no.print_moves
- print engine moves on error output; made for gui or engine battles. Default: nohistory
- preserve previous board states on output. Default: nodepth [any number]
- depth of the engine. Default: none.time [any number]
- time for the engine. Default: 5. When used, depth is set totime/~one_depth_time
. Withdepth
depth is set tomin(depth, time/~one_depth_time)
. Estimated. May be inaccurateX|O
- which one is engine playing. Default: Oposition [position]
- position to start the game.moves [moves]
- moves already played in the game.
Ctrl+C
stops computer thinking; infinite analysis- make bot play random best move instead of last one