bots: Create Chess Bot.
Chess Bot is a bot that allows you to play chess against either another user or the computer. Use `start with other user` or `start as <color> with computer` to start a game. In order to play against a computer, `chess.conf` must be set with the key `stockfish_location` set to the location of the Stockfish program on this computer. Use `bot_handler.storage` to preserve game state across messages. (@showell also did minor work here to have the test use verify_dialog() and have the bot respond to empty messages)
This commit is contained in:
parent
2fa677a3e0
commit
700ce6a673
7 changed files with 914 additions and 1 deletions
|
@ -52,7 +52,8 @@ setuptools_info = dict(
|
|||
'html2text', # for bots/define
|
||||
'BeautifulSoup4', # for bots/googlesearch
|
||||
'lxml', # for bots/googlesearch
|
||||
'requests' # for bots/link_shortener
|
||||
'requests', # for bots/link_shortener
|
||||
'python-chess[engine,gaviota]' # for bots/chess
|
||||
],
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue