Play with other fediverse users a Chess game! Mastodon Chess control games, players and boards and it post, graphically, every move to both players!
Anar al arxiu
2020-11-18 15:35:50 +00:00
board.png board.png 2020-11-18 15:35:50 +00:00
db-setup.py First functional but alpha stage release 2020-11-16 17:54:46 +01:00
mastochess.py New! Added total wins of every player once the game is finished 2020-11-18 16:25:13 +01:00
README.md Updated 2020-11-16 18:03:48 +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!

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

Dependencies

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

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.