Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ucarion/fen
A Forsyth-Edwards notation with proper error handling
https://github.com/ucarion/fen
Last synced: about 1 month ago
JSON representation
A Forsyth-Edwards notation with proper error handling
- Host: GitHub
- URL: https://github.com/ucarion/fen
- Owner: ucarion
- Created: 2015-08-05T23:57:06.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-06T15:43:23.000Z (4 months ago)
- Last Synced: 2024-05-12T14:45:55.569Z (about 2 months ago)
- Language: Rust
- Size: 125 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Lists
- awesome-chess - fen by ucarion - A Rust Forsyth-Edwards notation parser with proper error handling. (Uncategorized / Uncategorized)
README
# fen
A Rust Forsyth-Edwards notation parser with proper error handling.
```rust
extern crate fen;let fen = "rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq e3 0 1";
let board = fen::BoardState::from_fen(fen).unwrap();
assert_eq!(fen, board.to_fen());
```