bishop
1.4.4, released 2 years ago by alxbkr.xyz
A pure Dart chess logic package with flexible variant support.
WASM-ready
What it does
Provides chess logic, legal move generation, FEN/PGN import/output, and support for over 50 built-in chess variants and custom fairy pieces. Written in pure Dart with zero dependencies.
AI-written summary of version 1.4.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a chess game or custom chess variant in Dart or Flutter.
- You need move generation, FEN parsing, and rules management without external dependencies.
Skip it when
- You need a complete UI chessboard widget (use the companion 'squares' package instead).
Strengths
- Flexible variant and fairy piece support via Betza notation and custom rules.
- Zero dependencies and pure Dart implementation.
- Over 50 built-in variants including Chess960, Crazyhouse, and Xiangqi.
Weaknesses
- Does not include UI widgets out of the box (requires a separate chessboard UI package).
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
final game = Game();
while (!game.gameOver) {
game.makeRandomMove();
}
print(game.ascii());
print(game.pgn());Alternatives
Packages that do the same job and could replace bishop.