Ren'Py Chess Engine Source Code
Posted: Sat Oct 31, 2020 1:20 pm
Itch.io link: https://r3dhummingbird.itch.io/renpy-chess-game
I built a chess GUI built using python-chess https://github.com/niklasf/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. The source code is available inside the game folder. Feel free to post feature requests (or bug reports if any) on the itch.io page.
Gameplay
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.

Flip-board view

Pawn promotion




I built a chess GUI built using python-chess https://github.com/niklasf/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. The source code is available inside the game folder. Feel free to post feature requests (or bug reports if any) on the itch.io page.
Gameplay
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.
Flip-board view
Pawn promotion