Skip to content

A set of react components for Go boards and Go related things

License

Notifications You must be signed in to change notification settings

chstan/react-baduk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

72633ef · Mar 25, 2016

History

19 Commits
Mar 25, 2016
Mar 25, 2016
Mar 17, 2016
Mar 25, 2016
Mar 25, 2016
Mar 17, 2016
Mar 17, 2016
Mar 17, 2016
Mar 22, 2016
Mar 17, 2016
Mar 25, 2016
Mar 17, 2016
Mar 25, 2016

Repository files navigation

React Baduk npm version

A controlled component for an SVG Go board with some variants.

Currently this exposes three components, Baduk (for playing a game) BadukBoard and Piece. It also exposes the class BadukGame which models the state of a game.

TODO

A few things to do

High priority

  • Add replay controls to gameplay component
  • Default styles (see example styles for a basic template)
  • Make star point locations adaptive to board size

Lower priority

  • Handicap for game component
  • Puzzle component
  • Variant pieces for move annotations
  • Board from notation
  • Hover styles on board labels
  • Smarter click detection (single click layer and get mouse coordinates?)
  • Pre-commit linter
  • Tests
  • Rule variants?
  • Label direction and location

Known Bugs/Quirks

About

A set of react components for Go boards and Go related things

Resources

License

Stars

Watchers

Forks

Packages

No packages published