FLUTTER ECOSYSTEM

chess

A library for legal chess move generation, maintenance of chess game state, and conversion to and from the formats FEN and PGN.

Latest version
0.8.1
30-day downloads
8.9K
Likes
46
Pub points
125

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The chess package is a Dart library designed for managing chess game states, generating legal moves, and converting between FEN (Forsyth-Edwards Notation) and PGN (Portable Game Notation) formats. It provides a robust foundation for building chess applications with accurate move validation and state tracking. Ideal for developers creating chess games or tools that require precise chess logic, it supports multiple platforms including mobile, web, and desktop. The library is well-documented and maintained, making it easy to integrate into Flutter projects.

Use cases
  • Building chess games
  • Parsing and generating PGN files
  • Validating chess moves
  • Converting between FEN and PGN
  • Implementing chess AI
  • Tracking game state
Key features
  • Legal move generation
  • FEN and PGN conversion
  • Game state management
  • Cross-platform support
  • Accurate chess rules enforcement
  • Lightweight and fast
Suitable for
  • Flutter game developers
  • Chess application creators
  • Educational chess tools
  • Chess engine integrations
  • Puzzle and training apps
Considerations
  • Requires understanding of chess notation
  • Limited to standard chess rules
  • No built-in UI components
  • Not optimized for large-scale game databases
  • Depends on external maintenance of source code
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add chess

Categories

Source repository

Related projects