chess-sjppd

1.3.1 • Public • Published

Chess engine and legal move generator

Intro

Provides results of the user's choice of moves necessary to progress a chess game. A rudimentary chess engine is provided for play vs the computer.

Progressing play

The accumulation of chess moves made by each side, expressed as a comma-separated list of Pure coordinate notation (PCN) strings, and a template object for game data export in Portable Game Notation (PGN) are to be entered into the "getGameStatus" function to produce the following information used to update a chess game user interface: position in Forsyth-Edwards notation (FEN), list of legal moves in PCN, who has the move, the scoresheet list of moves in standard algebraic notation, a list of captured pieces, and if the game is over, cause of game over and the filled-in PGN.

Export object

has two members, "ui" and "units," for chess user interface and unit testing, respectively.

/chess-sjppd/

    Package Sidebar

    Install

    npm i chess-sjppd

    Weekly Downloads

    7

    Version

    1.3.1

    License

    MIT

    Unpacked Size

    93.6 kB

    Total Files

    25

    Last publish

    Collaborators

    • tbmeans