Play with other fediverse users a Chess game! Mastodon Chess control games, players and boards and it post, graphically, every move to both players!
board.png | ||
db-setup.py | ||
mastochess.py | ||
README.md | ||
requirements.txt | ||
setup.py |
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:
-
Run
pip install -r requirements.txt
to install needed Python libraries. -
Run
python db-setup.py
to setup and create new Postgresql database and needed tables in it. -
Run
python setup.py
to get your Mastodon's bot account tokens. -
Use your favourite scheduling method to set
python mastochess.py
to run regularly.