OhMyDeveloperKyrylo Panin
All work
In development

Crazy Checkers

Checkers with character: classic rules, six fighters with a move of their own, prank cards and a comic finishing move when a match is won.

Role
Game design, game core, client, server
Platforms
Android and iOS
Status
In development
Technology
Defold, Lua, Rust
A duel against the Scrapper bot: the Pirate plays the Hook card, which pulls a distant enemy man close The six fighters, Boxer, Ninja, Robot, Chef, Pirate and Wizard, each with one move of its own Match setup: five opponents, three rule sets, the fighter and the prank cards switch The three-panel knockout comic that ends a won match
A duel with a card in play, the six fighters, the match setup and the knockout comic. Screens of the development build of 24 November 2026.
The idea

Real checkers rules, plus a layer of mischief.

The base game is plain checkers against a bot with five levels. The rules are American, Brazilian or International, or the player's own: board size, number of pieces, backward captures, flying kings and mandatory capture.

On top of it sits a second game. Captures, losses and every sixth move fill a rage meter, and rage buys prank cards such as Freeze, Swap and Bomb. The player also picks one of six fighters, and each brings one move nobody else has: the Pirate hooks a distant man and pulls it close, the Wizard jumps to any empty cell of its row.

A match that is won ends with a finishing move, a short clip and a three-panel comic page. Wins unlock the other fighters.

What I built

Core, client, server.

The game core

Rules, bot and cards in pure Lua, with no engine API inside. It runs from the command line.

Lua 5.1, LuaJIT
The client

A Defold app that only draws the state of the core and passes input back to it.

Defold, Lua
The server

Guest accounts, rooms by code and live play over WebSocket. It embeds the game core to referee.

Rust, tokio, axum, PostgreSQL
The checks

Tests under two Lua runtimes, perft counts for the rules, and a browser test where two windows play a real game.

perft, smoke tests
Decisions that mattered

Where the engineering is.

The rules exist in one place

The server does not reimplement checkers. It embeds the same Lua core the client runs and referees every move with it, so the client and the server cannot disagree about a rule.

Rust, embedded Lua core

Three rule sets are one table

American, Brazilian and International checkers are presets of one table with six options: board size, rows of men, backward captures, flying kings, mandatory capture and taking the most. Custom rules are the same table with other values, so one move generator serves them all.

American, Brazilian, International, custom

Determinism is a rule

A match is a function of the rules, a seed and the list of moves. The core has its own seeded random generator, and a test rejects any call to the engine, the clock or the system inside it.

Pure Lua core, seeded RNG, purity test

Move generation checked with perft

The three rule sets are checked against published perft counts: the number of positions reachable in a given number of moves.

perft

The bot plays the cards too

Eleven prank cards and six fighter moves are paid for with rage. A hand holds three cards: the fighter's own move and two from a deck that deals the same cards to both sides in the same order. The bot has a fighter too, and from the second level up it plays a card only when its search says the card pays.

Freeze, Shield, Shove, Swap, Backstep, Revive, Bomb, Crown, Reroll, Crate, Demote

Every build starts with the tests

Each build first runs the tests and checks the engine calls against the Defold reference.

Lua 5.1, LuaJIT
Screens

A duel, the rules and the cards.

Stack

Everything it is made of.

Game
Defold 1.14, Lua 5.1
Server
Rust, tokio, axum, WebSocket, PostgreSQL
Tests
Lua 5.1 and LuaJIT, perft counts, browser smoke tests
Platforms
Android and iOS, with an HTML5 build for development

Need this kind of engineering on your team?

I am available now for a senior iOS or macOS role.