Giter VIP home page Giter VIP logo

board2fen-flask-app's Introduction

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.

board2fen-flask-app's People

Contributors

mcdominik avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.