Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
0

Play a Game of Chess in Ren'Py!

A topic by r3dhummingbird created Sep 16, 2020 Views: 422
Viewing posts 1 to 1

Game Link: https://r3dhummingbird.itch.io/renpy-chess-game

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.

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.

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)