go-Engine#
A small robust, thorougly tested, and very creatively named go-engine, trying to enforce as much robustness/correctness as-possible.
Looking forward to writing python bindings for this.
For self-hosted knots, clone URLs may differ based on your setup.
Download tar.gz
- Implement score() method on Game<W,H> using Japanese rules
- Territory = enclosed empty regions not touching board edge
- Captures counted per color, dead stones added as extra captures
- Validate dead stone claims with InvalidDeadStone error
- Add 10 scoring tests (100% line coverage)
- play_as(color, coord) validates the requested color matches to_move
- play(coord) continues to always play for the current player
- Add unit tests for wrong/right color and Default impl
- Add proptests with non_adjacent_seq strategy for long sequences
A small robust, thorougly tested, and very creatively named go-engine, trying to enforce as much robustness/correctness as-possible.
Looking forward to writing python bindings for this.