chess-package

1.0.0 • Public • Published

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>
	)
}

Readme

Keywords

Package Sidebar

Install

npm i chess-package

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

35.6 kB

Total Files

16

Last publish

Collaborators

  • anchtran