Reversi

3 variants of the flanking capture game. Standard Othello, Anti-Reversi (fewest discs wins), and the compact 6x6. One plugin parameter inverts the win condition entirely.

3 Variants
1 Plugin
Frontmatter-only

Invert the Win, Keep the Engine

Reversi demonstrates the power of parametric rules. Change one value and the entire strategy inverts. The engine handles both without branching.

Standard Reversi Rules

The classic 8x8 game played in international competition since 1977. Place discs to outflank and flip your opponent's pieces. Most discs wins when no moves remain.

engine:
  topology:
    type: grid
    rows: 8
    cols: 8
  players: [black, white]
  setup: "8/8/8/3bw3/3wb3/8/8/8"
  plugins:
    reversi:
      directions: "all"
      mustFlip: true
      winBy: "most"
      passWhenNoMoves: true

Standard Reversi (8x8) — most discs wins

Anti-Reversi Rules

The misere variant. Win condition inverted: fewest discs wins. One parameter change (winBy: "fewest") transforms the entire strategic landscape. Corner control becomes a liability.

engine:
  topology:
    type: grid
    rows: 8
    cols: 8
  players: [black, white]
  setup: "8/8/8/3bw3/3wb3/8/8/8"
  plugins:
    reversi:
      directions: "all"
      mustFlip: true
      winBy: "fewest"
      passWhenNoMoves: true

Anti-Reversi (8x8) — fewest discs wins, inverted strategy

6x6 Reversi Rules

A compact variant for faster games. Fewer cells mean every move is critical from the start. Same rules, tighter board, more immediate tactical consequences.

engine:
  topology:
    type: grid
    rows: 6
    cols: 6
  players: [black, white]
  setup: "6/6/2bw2/2wb2/6/6"
  plugins:
    reversi:
      directions: "all"
      mustFlip: true
      winBy: "most"
      passWhenNoMoves: true

6x6 Reversi — compact board, immediate tactics

Play All 3 Variants

Every reversi variant is playable with AI opponents at multiple difficulty levels.

Play Reversi Browse Boards SDK Docs