Support and FAQ

Mochi Chess Club is Xiangqi (Chinese chess) and Banqi (Taiwanese flip chess) for iPhone. Every piece is a little mochi with a big, clear character on it. Two players can share one phone, or you can play the computer.

It's free, with no ads, no in-app purchases, no in-game currency, and no data collected. We wanted an app where you open it and there's only the game, so it doesn't make money from ads or sales. Playing on one phone or against the computer works offline.

How do I report a problem?

When a game ends, tap Report this game. The app opens an email with the app version, mode, rules, shuffle seed, and move list attached. Add a line about what happened and send it. For anything else, go to Settings > Report a problem in the app; it adds the app version and your current Banqi rules. Or email the address below with your iPhone model, iOS version, and what you did.

How is perpetual check judged?

Perpetual check is when one side checks on every move and the same position keeps coming back. Once a position has appeared three times, the checking side can't play the move that would bring it back a fourth time. The app says "No repeating that check." If that's the only kind of move the checking side has left, they lose.

Before it gets there, a hint says the checks are repeating and that continuing will be blocked.

A repeat that isn't caused by perpetual check is a draw once the same position appears three times. 60 moves in a row with no capture, counting both sides, is also a draw, with a reminder at move 50.

Why isn't perpetual chasing judged?

Version 1.0 judges perpetual check only, not perpetual chasing (attacking the same piece over and over). Chasing rules are detailed and differ from place to place, and a wrong call is worse than none. If two players keep chasing, the game ends in a draw when the same position appears three times. The computer never chases or checks perpetually itself. Chasing rules are planned for version 1.1.

What are the default Banqi rules, and can I change them?

The default is Taiwan rules: a 4×8 half board with all 32 pieces face down. On your turn, flip a piece, or move one of your face-up pieces one square up, down, left, or right. Whoever flips first plays the color of the piece they flipped.

From strongest to weakest: King, Advisor, Elephant, Rook, Horse, Cannon, Pawn. A piece captures an equal or weaker piece, only a face-up opposing piece directly up, down, left, or right of it. Two exceptions: a Pawn can capture the King, but the King can't capture a Pawn; and the Cannon can't capture next to it. It jumps over exactly one piece, face up or face down, to capture, whatever the target's strength. There are no chain captures, and the Rook moves one square at a time.

You win when all the other side's pieces are captured, or when it's their turn and they have nothing they can do. The same board three times is a draw, and so is 60 moves in a row, counting both sides, with no capture and no flip.

In Settings > Banqi rules, choose Custom to change these five:

When you play the computer, it can't see face-down pieces. Like you, it only knows which pieces are still hidden.

How can I check the Banqi shuffle myself?

Before each game, the app uses a random seed to place all 32 pieces. At the start you only see the seed's fingerprint, the shuffle code. The seed itself is shown when the game ends. The fingerprint is the first 8 characters (32 bits) of the seed's SHA-256 hash. In practice, there's no way to find another seed with the same fingerprint that also lays out a board matching every piece flipped in your game. So if both the fingerprint and the board match, the board was fixed at the start and wasn't changed during the game.

Step 1: check the fingerprint. Any SHA-256 tool works.

  1. Note the shuffle code at the start of the game (8 characters, like 3F9A 12C7; ignore the space).
  2. When the game ends, tap See shuffle seed on the end screen. It shows the shuffle seed: 32 characters from 0–9 and A–F, which stand for 16 bytes. Tap Copy seed to copy them.
  3. Calculate SHA-256 of those 16 bytes. If the seed is shown in groups of 4 with spaces between them, delete the spaces first. Hash the bytes, not the 32 characters as text: if your tool has an "input is hex" option, turn it on.
  4. The first 8 characters of the result should match the shuffle code (upper or lower case doesn't matter).

Step 2: shuffle again from the seed and compare with the starting layout shown under See shuffle seed. This step needs a little programming.

  1. Set up the random numbers: take the UTF-8 bytes of the text mochi-banqi-shuffle-v1, add the 16 seed bytes after them, and calculate SHA-256. Take the first 16 bytes of the result, read them as four little-endian unsigned 32-bit integers, and use those as the starting state of the xoshiro128** generator.
  2. Lay out the starting order (positions 0–31): Red King, Advisor, Advisor, Elephant, Elephant, Rook, Rook, Horse, Horse, Cannon, Cannon, then 5 Pawns; then Black in the same order.
  3. Shuffle (Fisher–Yates): for i from 31 down to 1, take the next random number x and compute limit = floor(232 ÷ (i+1)) × (i+1). If x is greater than or equal to limit, throw it away and take another. Then j = x mod (i+1); swap positions i and j.
  4. Position k goes in row floor(k ÷ 4) + 1 from the top and column (k mod 4) + 1 from the left (the board stands upright: 4 columns × 8 rows).
  5. The 32 squares you get should match the starting layout exactly. Every piece flipped during the game should be the same piece as in that square of the starting layout (face-down pieces never move). The record attached by Report this game lists each flip: for example, f:b3 means the square in column 2 (b) from the left, row 3 from the top.

To check your xoshiro128**: from the state (1, 2, 3, 4), the first 6 outputs should be 11520, 0, 5927040, 70819200, 2031721883, 1637235492. SHA-256, xoshiro128**, and Fisher–Yates are all public methods, and this shuffle won't change in any version.

What do I need to play online?

Both players need Mochi Chess Club and need to be signed in under Settings > Game Center on their iPhone. To invite someone, they need to be your Game Center friend. You can also get matched at random, which uses the default rules. Friend games can use your own Banqi rules, and the other player sees them before accepting.

Online games are turn-based: you get a notification when it's your turn, and the other player moves when they have time. A move a day is fine. If your opponent doesn't move for 3 days, the app gives you the win. Online play is free too. Games are passed along by Apple's Game Center and don't go through any server of ours.

If the app says multiplayer is turned off, that's a Screen Time limit. A parent can turn it on under Settings > Screen Time > Content & Privacy Restrictions > Game Center. Limiting multiplayer games to friends only also blocks online play.