Comments (1)
parseCastlingFen
works on Setup
-level (or specifically Board
), i.e., matching rooks because it's necessary to understand the notation, but not yet taking rules into account. An equivalent parseEpSquare
is basically just parseSquare
.
Since this is about the board editor specifically ... the castling toggles are always there. Toggles can be used and rooks can be placed in any order. It would be consistent to allow selecting any en passant file at all times.
from chessops.
Related Issues (20)
- SAN and/or UCI move list parsing HOT 1
- FEN parsing and validation: regression or refactoring? HOT 4
- Chess.hasInsufficientMaterial not entirely correct HOT 2
- Support for mate eval notation starting with M HOT 9
- multiple FEN only PGNs are counted as one HOT 6
- Add cjs target HOT 1
- Incorrectly parsing variation past end of game as exported from Lichess study HOT 3
- βWARNβ deprecated [email protected]: Version published from wrong branch HOT 1
- can't use as part of script with import chessops/pgn etc. without type module HOT 5
- How to write PGN back to a file
- Atomic position rn5r/pp4pp/2p3Nn/5p2/1b2P1PP/8/PPP2P2/R1B1KB1R b KQ - 0 9 cannot be set up HOT 1
- Giving check in 3check does not change remaining checks HOT 1
- PGN parsing and writing HOT 4
- Request for new release with ES Module Support HOT 1
- Test for standard material
- Fen with empty castling field is accepted as valid HOT 1
- Fen with repeated tokens in castling field accepted as valid HOT 1
- En passant target squares not properly generated in FEN EPD HOT 2
- Fifty-move and Threefold repetition rules HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chessops.