Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

kokopu

1.2.0 • Public • Published

Kokopu

Kokopu is a JavaScript library for chess applications. It implements the chess game rules, and provides tools to read/write the standard chess file formats (PGN, FEN, etc.).

https://www.npmjs.com/package/kokopu

Build Status

Download

https://kokopu.yo35.org/dist/kokopu.zip

Documentation

https://kokopu.yo35.org/

Features

  • Chess move generation.
  • Check, checkmate and stalemate detection.
  • Move legality check.
  • Algrebraic notation parsing and generation.
  • FEN notation parsing and generation.
  • PGN file parsing (including advanced PGN features such as commentaries, sub-variations, NAGs, non-standard starting position...).
  • Support Chess 960 (also known as Fischer Random Chess).

Used by

install

npm i kokopu

Downloadsweekly downloads

2

version

1.2.0

license

LGPL-3.0-or-later

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability