Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mlang/chessio
Fast haskell chess move generator library and console UCI frontend
https://github.com/mlang/chessio
boardgames chess chess-game console haskell
Last synced: 2 days ago
JSON representation
Fast haskell chess move generator library and console UCI frontend
- Host: GitHub
- URL: https://github.com/mlang/chessio
- Owner: mlang
- License: bsd-3-clause
- Created: 2019-03-26T21:47:17.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-12T12:23:39.000Z (22 days ago)
- Last Synced: 2024-12-25T13:10:26.008Z (9 days ago)
- Topics: boardgames, chess, chess-game, console, haskell
- Language: Haskell
- Homepage: https://hackage.haskell.org/package/chessIO
- Size: 46.5 MB
- Stars: 31
- Watchers: 7
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# A Haskell chess library and console UCI frontend program
[![Build status](https://github.com/mlang/chessIO/actions/workflows/ci.yml/badge.svg)](https://github.com/mlang/chessIO/actions/workflows/ci.yml)
`chessIO` is a Haskell library for working with chess positions and moves,
and a console frontend program (cboard) to work with UCI compatible
chess engines.## The Library
The main module provided by the library is
[Game.Chess](https://hackage.haskell.org/package/chessIO/docs/Game-Chess.html),
which defines data types and functions for working with chess positions
and moves. It offers a fully compliant move generator and parsing for
and printing positions in [Forsyth-Edwards
Notation](https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation)
and moves in [Algebraic
Notation](https://en.wikipedia.org/wiki/Algebraic_notation_(chess)).Module
[Game.Chess.UCI](https://hackage.haskell.org/package/chessIO/docs/Game-Chess-UCI.html)
provides functionality to run an external process which understands the
Universal Chess Interface protocol from within Haskell.## Console frontend for the Universal Chess Interface protocl
`cboard` is a simple console (text-mode) frontend for interacting with
chess engines (like stockfish or glaurung) which make use of the UCI
protocol.To launch a chess engine, simply pass its executable name and arguments
to cboard. For instance, `cboard stockfish`.