1.0.0 • Published 2 years ago
chess-package v1.0.0
Chess package
This package uses React DnD to create a composable chess board.
When to use
If you want a quick and easy chess board UI, and you're willing to write the logic of the game yourself in the backend, this is a good choice.
Features
- Uses typescript
- Move highlighting with customizable colors
- Changeable size
- Move pieces with drag & drop
- Packaged with promotion UI
Installation
npm install chess-package
Usage
import {Chessboard} from 'chess-package'
function App () {
return (
<div>
<ChessBoard sideLength={70} />
</div>
)
}
1.0.0
2 years ago