https://github.com/brainstone/utf8-console-chess
A little application to render FEN positions in the console with UTF-8 characters.
https://github.com/brainstone/utf8-console-chess
Last synced: 11 months ago
JSON representation
A little application to render FEN positions in the console with UTF-8 characters.
- Host: GitHub
- URL: https://github.com/brainstone/utf8-console-chess
- Owner: BrainStone
- License: mit
- Created: 2021-10-11T21:03:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-05-09T01:38:36.000Z (about 3 years ago)
- Last Synced: 2025-05-31T19:25:33.541Z (about 1 year ago)
- Language: C++
- Size: 146 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# utf8-console-chess
A little application to render [FEN](https://www.chess.com/terms/fen-chess) positions in the console with UTF-8 characters.
Ambitions to turn into a fully fledged chess application that supports external chess engines.
## Usage
```
Usage: ./u8cc [OPTION]... [FEN]
A little application to render FEN positions in the console with UTF-8 characters.
-h, --help display this message and exit
-f, --file FILE instead of from the arguments, read the FEN from
FILE, or when FILE is -, read from standard input
--stdin equivalent to -f -
-d, --double-size print the chess board in a larger font. This may
not be supported by all consoles
-i, --invert-board print the board from black's perspective
```
Example:

*Note*: Only the position part until the first space in the FEN string is required. The rest after it is ignored anyways.
## Building
This is CMake project.
So all you have to do to build it is run these commands
```cli
cmake .
make
```
Then you'll have the binary u8cc in the same directory.
If you just want to build the binary without the tests, append the parameter
`u8cc` to the make command.