Play with other fediverse users a Chess game! Mastodon Chess control games, players and boards and it post, graphically, every move to both players!
Go to file
2020-11-21 19:59:29 +01:00
board.png board.png 2020-11-18 15:35:50 +00:00
db-setup.py Added link to game in games list 2020-11-20 09:44:08 +01:00
mastochess.py Added a warning to player in turn when has been captured one of its pieces 2020-11-21 19:58:30 +01:00
README.md Added a warning to player in turn when has been captured one of its pieces 2020-11-21 19:59:29 +01:00
requirements.txt First functional but alpha stage release 2020-11-16 17:54:46 +01:00
setup.py First functional but alpha stage release 2020-11-16 17:54:46 +01:00

Mastodon Chess

Play with other fediverse users a Chess game! Mastodon Chess control games, players and boards and even it post, graphically, every move to both players!
Mastodon Chess (mastochess) uses python-chess library.

How to play:

To start a game:

@your_bot_username new

To make a move:

@your_bot_username move e2e4

To finish game at any time:

@your_bot_username end

To list on going games:

@your_bot_username games

Dependencies

  • Python 3
  • Postgresql server
  • Mastodon's bot account
  • Mastodon server admin

Usage:

Within Python Virtual Environment:

  1. Run pip install -r requirements.txt to install needed Python libraries.

  2. Run python db-setup.py to setup and create new Postgresql database and needed tables in it.

  3. Run python setup.py to get your Mastodon's bot account tokens.

  4. Use your favourite scheduling method to set python mastochess.py to run regularly.

board

20.11.2020 - New feature! added link to on going games in games list
21.11.2020 - New feature! Added a warning to player in turn when has been captured one of its pieces