I ported Portfish (C# Stockfish port) to Unity for a kids chess app

While building a chess app for my kids I needed a chess engine that would work in Unity. I found Portfish — a C# port of Stockfish — but it needed several fixes to run properly in a Unity environment.

Original repo: https://github.com/bpfliegel/Portfish
My Unity fork with fixes: https://github.com/myasovik/Portfish_Unity

The few problems were:

  1. I needed to clean up some things that overlap with the Unity engine.
  2. That portfish all the time expected input, and if it did not get it, just existed. So I made it wait for the actual exit command.

If you're curious to see it in action, I ended up shipping it in a free kids chess app on Google Play:
https://play.google.com/store/apps/details?id=com.awesomelyup.chessadventure&hl=en_US

And by the way, if you are interested in trying it, let me know, and I can share the class that communicates with it.

reddit.com
u/myasoviksan — 5 days ago
▲ 4 r/chessvariants+1 crossposts

I built a free chess game for kids — no ads, no subscriptions [Mobile]

Game Title:
Chess Adventure

Playable Link:
https://play.google.com/store/apps/details?id=com.awesomelyup.chessadventure&hl=en_US

Platform:
Android (Mobile)

Description:
A clean and simple chess app designed for young players who are just learning the game. Built with Unity over the course of a year, the goal was to create something friendly enough for kids who can't read yet, while still being a proper chess experience. The app features a vs Bot mode with fully adjustable difficulty, local PvP on one device (pass and play), and customizable piece colors and backgrounds. The UI is kept minimal and visual so younger players can navigate it easily. No ads, no subscriptions. There is one optional one-time in-app purchase to unlock extra color themes, but the game is fully playable without it.

Free to Play Status:
[x] Free to play

Involvement:
Solo developer. Designed, programmed, and shipped the entire app independently.

u/myasoviksan — 2 days ago
▲ 2 r/playmygame+1 crossposts

I built a free chess game for kids — no ads, no subscriptions [Mobile]

Game Title:
Chess Adventure

Playable Link:
https://play.google.com/store/apps/details?id=com.awesomelyup.chessadventure&hl=en_US

Platform:
Android (Mobile)

Description:
A clean and simple chess app designed for young players who are just learning the game. Built with Unity over the course of a year, the goal was to create something friendly enough for kids who can't read yet, while still being a proper chess experience. The app features a vs Bot mode with fully adjustable difficulty, local PvP on one device (pass and play), and customizable piece colors and backgrounds. The UI is kept minimal and visual so younger players can navigate it easily. No ads, no subscriptions. There is one optional one-time in-app purchase to unlock extra color themes, but the game is fully playable without it.

Free to Play Status:
[x] Free to play

Involvement:
Solo developer. Designed, programmed, and shipped the entire app independently.

u/myasoviksan — 6 days ago