Skip to content

Instantly share code, notes, and snippets.

@jpalala
Last active September 30, 2025 04:05
Show Gist options
  • Save jpalala/9d6d6d365ff1ec06319a2d54bab2c702 to your computer and use it in GitHub Desktop.
Save jpalala/9d6d6d365ff1ec06319a2d54bab2c702 to your computer and use it in GitHub Desktop.
wormhole chess

Sure! Here's a clean and polished README.md based on your description:


Wormhole Chess

Wormhole Chess is a variant of traditional chess played on a modified board with unique teleportation mechanics.


🧩 Board Layout

  • Start with a standard 8×8 chessboard.
  • Remove the leftmost two columns and the rightmost two columns, leaving a 6×8 board.
  • The four central squares of the board form the Wormhole — a special zone with unique rules (explained below).

♟ Piece Setup

Each player begins with 6 pieces:

Rook Rook Bishop Knight Queen King
  • White’s pieces are arranged as listed above on their back rank.
  • Black mirrors this setup from their perspective.
  • Bishops naturally start on opposite-colored squares.

🌀 Wormhole Rules

The Wormhole is an alternate plane of existence on the board. Pieces can enter and exit it under special conditions.

Entering the Wormhole

  • A piece may enter the Wormhole using its normal movement rules.
  • Entering counts as ending the move inside the Wormhole.
  • Multiple pieces can occupy the Wormhole at once.
  • The king may never enter a wormhole.

Inside the Wormhole

  • While inside, a piece cannot be captured or interacted with except by another piece inside the Wormhole, using normal capture rules.

Exiting the Wormhole

A piece may exit the Wormhole onto any empty square on the board if:

  1. It does not capture when it exits.
  2. It cannot immediately re-enter the Wormhole on the same move.
  3. Once it exits, it must stay on the board until captured or moved normally.

✅ Summary of Wormhole Dynamics

Action Allowed? Notes
Enter Wormhole like a normal move Counts as full move
Capture while entering Must land cleanly
Capture while inside Wormhole Only against another Wormhole occupant
Exit to any square Must not capture
Exit and enter again immediately No “bounce-back” abuse

Why I thought of this idea.

I initially liked the idea of 3d chess by Star Trek, but realize it requires special boards to acquire etc.

I liked the idea of the through-the-void movement. So this was born our of a desire to play something similar without having to buy a special board.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment