Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

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

License

NotificationsYou must be signed in to change notification settings

chstan/react-baduk

Repository files navigation

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

Currently this exposes three components,Baduk (for playing a game)BadukBoard andPiece. It also exposes the classBadukGame 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

[8]ページ先頭

©2009-2025 Movatter.jp