Make your chess club's own game
Every chess club has its side games. Pawn Wars to teach the endgame, 5x5 minichess when there are ten minutes left, King of the Hill on a Friday night, and a rule somebody made up last Tuesday that everyone now plays. Describe one to Vibes DIY and the app plays by those rules, with a computer opponent that knows them as well as it knows chess.
The opponent is Fairy-Stockfish, the open-source engine built for chess variants. It plays over a hundred of them, from atomic and crazyhouse to shogi and xiangqi, and it learns new ones from a few lines of text. Here are three, live in the page. Pick a game, pick a level, and you play White.
5x5 Gardner puts every chess piece on twenty-five squares, so mate comes fast. 6x6 Los Alamos is the board MANIAC I played on in 1956, in some of the first games a computer played against people. Open it full screen to play on your phone.
One sentence each
We asked Vibes DIY for these the way a club organiser would, in one sentence each.
"Pawn Wars for our chess club: each side has only pawns, first pawn to reach the far side wins, play the computer" came back as Pawn Wars, with en passant, Easy, Club and Strong levels, and a club record of saved games.
Get posts like this in your inbox
One email field. Real updates. No algorithm required.
"Minichess on a 5x5 board where I play against the computer" came back as Mini Chess: a serif board that lets you play either colour and keeps every game you finish.
King of the Hill is chess where you also win by walking your king onto one of the four centre squares. Our King of the Hill, for two players on one phone, marks those squares on the board and lets you name the match.
Your club's own rules
Fairy-Stockfish reads a variant as a short block of settings: where the pieces start, how they move, what wins. When you describe your club's rule, Vibes DIY writes it down that way, and the board and the computer opponent both read the same text, so they always agree. Here is our Pawn Wars, written that way:
ini[pawnwars:chess]
startFen = 8/pppppppp/8/8/8/8/PPPPPPPP/8 w - - 0 1
king = -
castling = false
extinctionValue = loss
extinctionPieceTypes = *
flagPiece = q
flagRegionWhite = *8
flagRegionBlack = *1
promotionPieceTypes = q
Change a piece and the rest follows. If your club's bishops also jump like knights, that is three lines: the bishop becomes Fairy-Stockfish's archbishop, a piece that already moves both ways. Try "Our chess club invented a variant where the bishops also move like knights. Make it so two of us can play it, each on our own phone."
More games to try
Each of these is built into Fairy-Stockfish. Paste a prompt into Vibes DIY, or change it to fit your club. The chess guide has more starting prompts, and the chess variants reference lists every rule you can set.
- Three-check. "Three-check chess against the computer: you also win by checking the other king three times."
- Atomic. "Atomic chess against the computer: every capture explodes, removing both pieces and everything around them except pawns."
- Crazyhouse. "Crazyhouse against the computer: pieces I capture join my side, and I can drop them on an empty square instead of moving."
- Horde. "Horde chess: I play 36 white pawns against the computer's full black army."
- Racing Kings. "Racing Kings for two of us on one phone: both kings race to the top row, and nobody may give check."
- Antichess. "Antichess against the computer: captures are forced, and the first player to lose all their pieces wins."
- Chess960 night. "A Chess960 club night: a new Chess960 starting position each game, the same for both sides, and keep a scoreboard."
- Xiangqi. "Xiangqi, Chinese chess, against the computer, with the river and the palace drawn on the board."
And plain 8x8 chess still has its own post: Make a chess app that plays by the real rules.
The engine is open source
We compiled Fairy-Stockfish to think on a single processor core, so it runs in an ordinary web page, right beside the maps, videos and pictures your app brings in from other sites. It is the same engine on one core instead of several, and still stronger than nearly anyone at the club.
That build is free and open source under the same GPL licence as Fairy-Stockfish, at VibesDIY/fairy-stockfish-single. If you run a chess site of your own, the README shows how to add it to a web page in a dozen lines.
Make your club's game
Describe the rule in a sentence. The board and the opponent learn it together.
Start building →
Make an app →