Skip to content

thib1984/pyreversi

Repository files navigation

⚫ ⚪ pyreversi ⚫ ⚪

pyreversi is a reversi game in your terminal with IA available.

Démo

image

🚀 How to use pyreversi

pyreversi or pyreversi -t to be helped for the available moves (in yellow)

IA options

  • -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

Other options

  • -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

Developper options

  • -f/--fix : disable random choice in the set of best choices for IA
  • -v/--verbose verbose mode
  • -s/--silent silent mode

⚙️ Install

See this page

👷 Contribution

See this page

📦 Changelog

See this page

License

MIT License

Copyright (c) 2021 thib1984

See this page for details

About

pyreversi is a reversi game in your terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages