All Projects → marcizhu → readme-chess

marcizhu / readme-chess

Licence: MIT License
♟️ Play Chess from a README file!

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to readme-chess

Tetris
A (incomplete) terminal Tetris. Written in Haskell.
Stars: ✭ 26 (-45.83%)
Mutual labels:  games
serverthrall
Conan Exiles Dedicated Server Manager
Stars: ✭ 26 (-45.83%)
Mutual labels:  games
iniquity
A re-imagining of the iconic BBS software.
Stars: ✭ 35 (-27.08%)
Mutual labels:  games
YetAnotherKeyDisplayer
The application for displaying pressed keys of the keyboard
Stars: ✭ 88 (+83.33%)
Mutual labels:  games
Lauhdutin
A Rainmeter skin for launching games.
Stars: ✭ 65 (+35.42%)
Mutual labels:  games
ubisoft-game-lab
Lumina - Ubisoft Game Lab 2016 Entry
Stars: ✭ 16 (-66.67%)
Mutual labels:  games
AnberPorts
AnberPorts for Anbernic RG351P/M and RG351V running ArkOS, 351elec and The RA.
Stars: ✭ 86 (+79.17%)
Mutual labels:  games
SteamDepotDownloaderGUI
A simple GUI tool based on DepotDownloader for downloading Steam depots.
Stars: ✭ 26 (-45.83%)
Mutual labels:  games
fc-solve
Freecell Solver - a C library for automatically solving Freecell and some other variants of card Solitaire
Stars: ✭ 49 (+2.08%)
Mutual labels:  games
reshade-vrtoolkit
Modular shader to enhance you HMD clarity & sharpness with minimal performance impact.
Stars: ✭ 40 (-16.67%)
Mutual labels:  games
Crystalshire
Legacy VB6 open-source ORPG
Stars: ✭ 24 (-50%)
Mutual labels:  games
planes
Variant of battleships game
Stars: ✭ 17 (-64.58%)
Mutual labels:  games
city-builder-games
Resources and info about open source city builder games.
Stars: ✭ 22 (-54.17%)
Mutual labels:  games
TeamGames
Sourcemod plugin providing team based games for prisoners and some useful things for wardens.
Stars: ✭ 16 (-66.67%)
Mutual labels:  games
Trivia-Knowledge
Trivia knowledge is a fun trivia game in which players have to guess the answers of questions by filling the answers boxes with correct letters.
Stars: ✭ 77 (+60.42%)
Mutual labels:  games
voxeling
Creative mode WebGL voxel game. Runs in Chrome, with multiplayer functionality and very few dependencies
Stars: ✭ 24 (-50%)
Mutual labels:  games
netradiant-custom
The open-source, cross-platform level editor for id Tech based games.
Stars: ✭ 154 (+220.83%)
Mutual labels:  games
100-Days-of-Code
Officially committing to 100 Days of code challenge.
Stars: ✭ 63 (+31.25%)
Mutual labels:  games
phaser-typescript-webpack
Another Phaser CE boilerplate using TypeScript and Webpack.
Stars: ✭ 17 (-64.58%)
Mutual labels:  games
xtory
a tool for writing branching nonlinear stories.
Stars: ✭ 14 (-70.83%)
Mutual labels:  games

GitHub README Chess Tournament

This template repository contains the source code for a Python Chess bot, together with GitHub Workflows in order to allow ANYONE to play chess from a README file. Want to see this in action? Go to my profile page and feel free to try it out by yourself!

Steps to make your own repo

  1. Create a new repository based on this template.

  2. (Optional) Tweak the bot settings to your linking. These settings are located in the file data/settings.yaml. You can leave them as they are if you don't want to change anything.

  3. Rename the folder .github/_workflows to .github/workflows in order to enable the GitHub Actions workflow that does all the magic.

  4. Delete this README file and make your own README.md. I recommend using README.template as a starting point. Keep in mind that the text between the HTML comments like <-- BEGIN CHESS BOARD --> and <-- END CHESS BOARD --> will be recreated after each move, so don't waste your time changing anything in there ;)

  5. Commit and push all the settings and create a new issue with title Chess: Start new game (case insensitive). If all goes well, after a few seconds a new response should appear telling you that a new game was successfully started and the issue should be automatically closed. After that, refresh your repository in order to see the changes done by the bot and your repository is ready to go! Just click on any of the links on the table of available moves, click on "Submit new issue" and after a few seconds, the move will be played!

Don't forget to share, have fun and enjoy your games!

Some extra information

All games are automatically archived into the games/ folder in PGN format. The current game is always called games/current.pgn, and the archived games always follow the pattern games/game-yyyymmdd-HHMMSS.pgn. You can download the archived games and review them using an external application. Each move in the PGN file has a comment specifying who performed each move so you can see which moves you played!

Finally, if you find any problem, feel free to submit an issue or open a PR and I will be more than happy to take a look at it!

Credits

Thanks to @timburgan for the initial idea. This project is heavily inspired on his. Also, big thanks to the authors and contributors of python-chess and PyGithub. Without their libraries, this project would have been impossible ❤️

License

This template and the code in it is licensed under the MIT License.
If you use this on your own repositories, please add a link back to this repo :D

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].