Ren'Py Chess Game 2.0
About
This is a chess GUI built with the Ren'Py Visual Novel Engine, python-chess, and Stockfish (for chess AI). You can use it as a standalone playable or integrate it as a minigame into a Ren'Py visual novel project. Read the guide for integration in my GitHub repo.
The source code is available both inside the game folder and on my GitHub. I wrote about how I developed this project in a blog post on freeCodeCamp. This chess engine will be used in a Visual Novel Game in development, The Wind at Dawn.
The game supports Player vs. Player and Player vs. Computer. In PvC, player can choose to play as either Black or White.
Click on a piece and all of its available moves will be highlighted in blue. Click on any of the legal destination squares to make a move. Press Flip board view to flip the view, with White on the bottom by default.
Gameplay Example: Fool's Mate Flip Board View Promotion UI Stalemate Player vs. Computer (Stockfish) Threefold Repetition: UI for Claiming a Draw(Also shows a similar UI choice screen if the fifty-move rule is in effect)