@dxos/react-ui-gameboard
TypeScript icon, indicating that this package has built-in type declarations

0.8.3 • Public • Published

@dxos/react-ui-gameboard

Phase 1

  • [x] SVGR pieces.
  • [x] Board.
  • [x] Drag pieces without snapshot.
  • [x] Absolut position of pieces.
  • [x] Move callback and validation (drop square/drag).
  • [x] Animation bug.
  • [x] Flip board.
  • [x] Styles/light/dark mode.
  • [ ] Model (move, validation, reset game, etc.)
  • [ ] Reset board when creating a new game.
  • [ ] Animate only when position changed.

Phase 2

  • [ ] Touch UX.
  • [ ] Animate rotate board 180' (transform board and pieces).
  • [ ] Generic board (go, shogi, checkers, xianqi, etc).
  • [ ] Promption selection.
  • [ ] Key nav.

Readme

Keywords

none

Package Sidebar

Install

npm i @dxos/react-ui-gameboard

Homepage

dxos.org

Weekly Downloads

31

Version

0.8.3

License

MIT

Unpacked Size

435 kB

Total Files

130

Last publish

Collaborators

  • richburdon
  • marik_d
  • wittjosiah
  • dxos-bot
  • mykola-vrmchk
  • yarolegovich