Skip to content

mcdominik/board2fen-flask-app

Repository files navigation

Simple monolit flask application

What it is

Simple Flask application, enables web usage of package board_to_fen package [https://github.com/mcdominik/board_to_fen] Forsyth–Edwards Notation explained: https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation

if you need the package alone you can simply install it via pip:

pip install board_to_fen

Available at

Screenshot 2023-01-05 at 16 46 44

or docker image:

docker pull mcdominik/board2fen_cpu

How to use it

Simple FEN options:

  • black view: toggle if you provide image with black player perspective

Full FEN options:

  • black view: toggle if you provide image with black player perspective
  • next move: who make next move
  • who can castle: castle availability
  • "en passant" target square: en passant square -> player has to move pawn 2 squares forward in the last move
  • full-move number: numbers of moves since game stared
  • half-move number: numbers of moves since the last capture or pawn advance, used for the fifty-move rule

Warnings

  • Image has to be provided in neutral angle (player's perspective).
  • Image has to be square.
  • Image can't contain paddings, borders etc. other than 64 squares (with pieces) itself.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published