pyreversi is a reversi game in your terminal with IA available.
pyreversi
or
pyreversi -t
to be helped for the available moves (in yellow)
-
-b --blackbot [int]
: black player is a bot, with level [int] -
-w --whitebot [int]
: white player is a bot, with level [int] -
level 0 : one in available choices
-
level 1 : max increase score
-
level 2 : level 1 + not offer corner + target corner
-
level 3 : level 2 + considering opponent turn to compute best score
-
level 4 : level 3 + considering safe place to compute best score
-
level 5 : level 4 + prefer safe place
-h/--help
display help message-r/--rules
display rules of reversi game-a/--auto
auto mode (disable "press any key")-g/--games [n]
batch mode with [n] games-n/--nocolor
disable color-u/--update
self update the package
-f/--fix
: disable random choice in the set of best choices for IA-v/--verbose
verbose mode-s/--silent
silent mode
See this page
See this page
See this page
MIT License
Copyright (c) 2021 thib1984
See this page for details