clamshell icon indicating copy to clipboard operation
clamshell copied to clipboard

Add Ko getter method to Board

Open artasparks opened this issue 4 years ago • 0 comments

We should add a Ko helper to the Board struct; currently ko is private: https://github.com/otrego/clamshell/blob/master/core/board/board.go#L17

Background:

  • For more about ko in go, see: https://en.wikipedia.org/wiki/Ko_fight
  • For more about unit testing: https://golang.org/pkg/testing/

Requirements:

  • Should have a unit test to get the Ko
  • Should have a unit test that exercises Ko-logic (in a black box fashion via PlaceMove).

artasparks avatar Dec 16 '20 01:12 artasparks