jamesteague / chess-moves Goto Github PK
View Code? Open in Web Editor NEWSimple library for making moves using chess.js with the intention of using the state for showing chessground board.
License: GNU General Public License v3.0
Simple library for making moves using chess.js with the intention of using the state for showing chessground board.
License: GNU General Public License v3.0
Describe the bug
After changing the chapter and playing a move the fen and last move does not change
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When changing chapters I expect the deltas to be independent of the previous chapter.
Is your feature request related to a problem? Please describe.
I would like to be able to have the AI be backed by some engine like Stockfish rather than it making random legal moves.
Describe the solution you'd like
Perhaps, allowing the level of Stockfish to be passed in at the time of creation.
Describe alternatives you've considered
Use a different library.
Is your feature request related to a problem? Please describe.
When a move is played comments on the PGN for that move should be available to the consumer.
Describe the solution you'd like
Possibly have it show up in the delta.
Is your feature request related to a problem? Please describe.
Some of the typings expose types that are of dependent packages. I'd like to see all types exported that the library uses.
Describe the solution you'd like
Create a type definitions file that gets packaged in the library.
Describe alternatives you've considered
Import typings from other libraries so that I can cast things as needed
Is your feature request related to a problem? Please describe.
I've run across an instance when using a state machine where I would like to check to see if the game is over since I may not have access to the delta.
Describe the solution you'd like
A method on the object to interrogate the status of the game. More generally, just getting the most recent delta.
Describe alternatives you've considered
I believe I can get around this by looking at the possible moves. If there are none, the game must have ended.
Describe the bug
When moves are played the computer always seems to play the same moves. It will also just shuffle the same piece back and forth.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Moves should be played at random.
Is your feature request related to a problem? Please describe.
If you wanted to make a selector to allow a user to choose a chapter, there is no way to distinguish what chapter it is.
Describe the solution you'd like
The chapter when parsed should at least have the title. The site, whether it be from online or physical location is a bonus.
Describe alternatives you've considered
There is no alternative to missing data.
Additional context
N/A
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.