Home › Fun & Games › Chinese Chess (Xiangqi)

Chinese Chess (Xiangqi)

Play xiangqi on the classic 9×10 board against a computer opponent with five levels, or pass the device to a friend. Tap a piece to see its legal moves; the general, palace, river and cannon rules are all enforced.

Last updated:

Red to move

Moves appear here in WXF notation.

Red captured
Black captured
Advertisement
Advertisement

How to use the Chinese Chess (Xiangqi)

  1. Choose a mode. Play vs Computer (pick your colour and a difficulty from 1 to 5) or 2 players on the same device.
  2. Red moves first. Tap one of your pieces: green dots show empty points it can move to and green rings show captures.
  3. Tap a highlighted point to move. Moves that would expose your general to check are not allowed.
  4. Attack the enemy general. A check is announced in the status box; checkmate or leaving your opponent with no legal moves wins.
  5. Use Undo move, Flip board or Copy move list at any time, and switch the piece labels to letters if you are still learning the characters.

Xiangqi pieces at a glance

PieceRed / BlackLetterCountMovementRough value
General帥 / 將K11 point orthogonally, stays in the palaceGame
Advisor仕 / 士A21 point diagonally, stays in the palace2
Elephant相 / 象E22 points diagonally, cannot cross the river, blocked at the midpoint2
Horse傌 / 馬H21 straight + 1 diagonal; blocked by an adjacent piece4
Chariot俥 / 車R2Any distance orthogonally9
Cannon炮 / 砲C2Moves like a chariot; captures by jumping exactly one piece4.5
Soldier兵 / 卒P51 forward; also sideways after crossing the river; never backward1 (2 after crossing)

Values are the commonly used rough guide (chariot about 9, cannon and horse about 4 to 4.5). Cannons are usually stronger in the opening when the board is crowded, horses in the endgame.

Opening and strategy tips

  • Central cannon (C2.5 or C8.5): the most popular first move for Red, aiming the cannon at Black's central soldier and general.
  • Develop chariots early: chariots are the strongest pieces; bring them to open files after moving the horses.
  • Keep your horses free: a horse with a piece next to it cannot jump in that direction, so avoid blocking your own horses.
  • Protect the palace: advisors and elephants are defenders. Trading them off early leaves your general open to cannon and horse attacks.
  • Cross the river with soldiers in the endgame: a soldier that reaches the enemy palace area can help deliver checkmate.

Frequently asked questions

How do the xiangqi pieces move?

The general (K) moves one point orthogonally inside the palace. Advisors (A) move one point diagonally inside the palace. Elephants (E) move exactly two points diagonally, cannot cross the river and are blocked by a piece on the point in between. Horses (H) move one point straight then one diagonally outward, and are blocked by a piece next to them. Chariots (R) move like a rook. Cannons (C) move like a rook but capture only by jumping over exactly one piece. Soldiers (P) move one point forward, and also sideways after crossing the river.

What is the flying general rule?

The two generals may never face each other on the same file with no pieces between them. A move that would create that situation is illegal, and in practice a general can 'capture' along an open file, which this tool treats as check.

What happens if a player has no legal moves?

Unlike Western chess, stalemate is not a draw in xiangqi. A player who has no legal move, whether in check or not, loses the game.

How are draws handled here?

The game is declared drawn after a threefold repetition of the same position, after 120 moves in a row without a capture, or when neither side has a chariot, horse, cannon or soldier left. Official tournament rules about perpetual check and chasing are more detailed; this tool uses these simpler draw rules.

What is WXF notation?

WXF notation writes each move as the piece letter, its file number, a sign and a target: + means forward, - backward and . sideways. Files are numbered 1 to 9 from each player's own right. For example C2.5 moves the cannon on file 2 sideways to file 5, and H8+7 moves the horse on file 8 forward to file 7. When two identical pieces share a file, + or - after the letter marks the front or rear one.

How strong is the computer?

Levels 1 and 2 look only one or two moves ahead and add randomness, which suits beginners. Level 3 searches three plies, level 4 about five, and level 5 searches as deep as it can in about 3.5 seconds with alpha-beta search, capture search and move ordering. Strong players will still beat it, but it punishes loose pieces.

Is xiangqi the same as Western chess?

Both descend from ancient Indian chaturanga, but xiangqi is played on the intersections of a 9×10 board with a river and palaces, has cannons and elephants with different moves, and has no pawn promotion or castling.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Play Chess vs ComputerPlay chess online against the computer at 8 difficulty levels.Chinese CheckersPlay Chinese checkers on a star board for 2, 3, 4 or 6 players, against friends or the computer.Go Game (Baduk)Play Go on 9×9, 13×13 or 19×19 vs a simple AI or a friend, with ko, scoring and SGF export.CheckersPlay checkers online against the computer or a friend, with kings, undo and hints.SolitairePlay classic Klondike Solitaire with Draw 1 or Draw 3 and undo.Spider SolitairePlay Spider Solitaire online with 1, 2 or 4 suits, hints, unlimited undo and a timer.Connect FourPlay Connect 4 online against the computer or a friend.Snake GamePlay classic Snake online with speeds, wall modes and high scores.Tic Tac ToePlay tic tac toe against an unbeatable AI or a friend.Block Puzzle GameClassic falling blocks puzzle game with levels and high score.MinesweeperPlay classic Minesweeper: 3 difficulties, flags, timer and a safe first click.2048 GamePlay 2048 online with swipe controls, undo and best score.Sudoku OnlinePlay free Sudoku with 4 difficulty levels, notes, hints and a timer.Word Guess GameGuess the hidden five-letter word in six tries. Unlimited games, stats and hard mode.HangmanClassic friendly hangman word game with categories, hints and difficulty levels.Memory Card GameFlip cards and match emoji pairs on 4×3 to 6×6 grids, with moves, timer and best scores.Flappy GameTap to flap a round chick through bamboo gaps and beat your high score.Dino Runner GameJump cacti and duck buzzing beetles in an original endless desert runner.Typing GameType the falling words before they land; level up and track your WPM and accuracy.Math Quiz GameTimed mental math rounds with four operations, five levels, streaks and high scores.Flag QuizGuess the flags of all 196 countries in four modes, from multiple choice to timed.Map QuizFind countries on a clickable world map or name the highlighted one, by continent.Periodic Table QuizLearn all 118 elements: quiz symbols, names and atomic numbers or click them on the table.Spelling Bee GameMake words from 7 honeycomb letters, always using the center letter. New daily puzzle.Jigsaw PuzzleTurn a sample picture or your own photo into a 12 to 150 piece jigsaw puzzle and solve it.Sliding PuzzlePlay the 15 puzzle and 3×3 to 6×6 sliding tile puzzles with numbers or your own photo.Mahjong SolitaireMatch pairs of free tiles to clear the Turtle and two smaller layouts, with hints, shuffle and undo.Scrabble Word FinderFind the highest-scoring words from your rack, with blank tiles, patterns and bingo bonus.Wordle SolverEnter your guesses and colours to see every possible answer and the best next guess.Crossword SolverFind words that fit a crossword pattern like c?t from the length and the letters you know.Word Search GeneratorMake a word search puzzle from your words, play it online or print it with an answer key.Pong GamePlay classic Pong online against the computer on 3 levels or with a friend, first to 11.Breakout GameClassic brick breaker game with levels, power-ups and lives. Play with mouse, touch or keyboard.Whack-a-MoleWhack the moles before they hide in 30 or 60 second rounds. Speed increases, best score saved.Simon Says GameRepeat the growing color and sound sequence. Classic memory game with strict mode and high score.ReversiPlay Reversi (Othello rules) online vs a 3-level computer or a friend, with move hints.GomokuGet five in a row on a 15×15 board against a smart computer or a friend.Battleship GamePlace your fleet and sink the computer's ships in this classic naval guessing game.Crossword Puzzle MakerTurn a list of words and clues into a crossword you can play online, share or print.Pyramid SolitairePlay Pyramid Solitaire online: pair cards that add up to 13 and clear the pyramid.Yacht Dice GamePlay the classic 5-dice scoring game solo for a high score or against a friend.MancalaPlay Mancala (Kalah rules) online against a smart computer or a friend on one screen.Lights Out GameTurn off every light in the classic 5x5 puzzle, with solvable random boards and a solver.BackgammonPlay backgammon online vs the computer or a friend, with doubling cube, undo and match scoring.Bubble Shooter GameAim, bounce and match 3 or more colored bubbles to pop them before the ceiling comes down.World Capitals QuizGuess the capital city of every country, by region, with multiple choice or typed answers.Categories Game GeneratorRandom letter and 12 categories from a 700+ pool, with round timer, printable sheets and scores.3x3 Cube SolverPaint your scrambled 3x3 cube and get a short step-by-step solution with a 3D animation.Dominoes GamePlay draw or block dominoes with a double-six set against 1 to 3 computer players.Emoji QuizGuess the word, phrase, animal, food or movie from emoji clues. 370+ puzzles with hints.Funny Fill-in-the-Blank Story GeneratorWord game: fill in nouns, verbs and adjectives without seeing the story, then reveal it.Golf SolitairePlay Golf Solitaire online: clear 7 columns by playing cards one rank up or down. 9-hole scoring.Guess the Number GameGuess the secret number with higher/lower or warm/cold hints, or let the computer guess yours.Hearts Card GamePlay Hearts online against 3 computer players: pass cards, dodge the Queen of Spades, shoot the moon.Kakuro PuzzlePlay generated cross-sum kakuro puzzles in several sizes with pencil marks and a combination helper.Killer SudokuPlay generated killer sudoku puzzles with cage sums, pencil marks, a cage combo helper and hints.Ludo GamePlay Ludo online with 2-4 players or against the computer: roll, capture and race home.Match 3 GameSwap gems to match 3 or more, trigger cascades and special gems, and beat each level's target.Snakes and LaddersPlay the classic board game online with 2-4 players or against the computer.Space Shooter GameRetro arcade space shooter: blast alien waves and meteors, grab power-ups and beat your high score.Spades Card GamePlay Spades online with a computer partner: bid tricks or nil, trump with spades, avoid bags.Stack Tower GameTap to drop sliding blocks and build the tallest tower. Perfect drops earn bonus points.US States QuizFind the 50 states on a clickable US map, type them all from memory, or match state capitals.Virtual Bubble WrapPop endless bubble wrap with click, touch or drag. Satisfying pop sounds and a pop-it fidget mode.Word Grid GameFind words in a 4x4 or 5x5 letter grid by dragging across adjacent letters before time runs out.Word Ladder GameChange one letter at a time to turn one word into another. Daily and random word ladders.Chess PuzzlesSolve chess puzzles online: mate in 1, 2 and 3 plus tactics, with hints, a rating and streaks.Clicker GameIdle clicker: mine gems, hire builders, buy upgrades, rebirth for stars and earn while you're away.
See all 141 Online Games →