edit: hello, one guy who starred this repo! it ain't ready for prime time yet, but stay tuned
A modern, terminal-based engine for Enochian Chess (4-player variant).
Enoch is a feature-rich engine and Terminal User Interface (TUI) for Enochian Chess, a complex four-army variant derived from the Golden Dawn tradition. Built in Rust, it enforces strict rules, supports historical setups (Tablets), and offers a responsive, interactive experience in your terminal.
Unlike standard chess, Enochian Chess features:
- Four Armies: Blue, Red, Black, and Yellow battling in teams of two.
- Unique Pieces: Queens that leap (Alibaba), Bishops restricted to diagonal networks.
- Thrones: Capture thrones to control allied armies.
- Divination Mode: Use dice rolls to constrain legal moves.
- Interactive TUI: Play directly in your terminal with mouse-free controls.
- Dual Modes:
- Board Mode: Navigate and move pieces with arrow keys.
- Command Mode: Enter moves using strict notation (e.g.,
blue: e2-e4).
- Responsive Design: Adapts layout for compact or wide terminal windows (min 80x24).
- Rule Enforcement: Validates move legality, turns, promotion zones, and frozen armies.
- Save/Load: Persist your games to JSON.
- Divination Support: Integrated dice rolling mechanics for divination play.
Download the latest release from the Releases Page.
tar -xzvf enoch-linux-x86_64.tar.gz
./enochEnsure you have Rust (1.80+) installed.
git clone https://github.com/monistowl/enoch.git
cd enoch
cargo install --path .
enochActive by default on start.
- Arrow Keys: Move cursor.
- Enter: Select piece / Confirm move.
- Esc: Cancel selection.
- Tab or /: Switch to Command Mode.
- Type command:
/help,/new,/save game.json. - Manual Move:
color: from-to(e.g.,red: h7-h6). - Tab or Esc: Switch back to Board Mode.
Rendering Modes:
enoch: Default rendering (best for Kitty, Alacritty).enoch --halfblocks: Use if you experience flickering or vertical spacing issues (e.g., iTerm2).
Complete rules, strategy guides, and historical context are available at the Official Site.
Contributions are welcome! Please check AGENTS.md for our development workflow using bd for issue tracking.
MIT License.
