Implement the basic rules of Go #40

Merged
savanni merged 13 commits from feature/go-rules into main 2023-05-04 02:34:40 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 889c3cec94 - Show all commits

View File

@ -76,7 +76,7 @@ impl From<&Board> for BoardElement {
.map(|column| match board.stone(&Coordinate { column, row }) {
Some(color) => IntersectionElement::Filled(StoneElement {
jitter: Jitter { x: 0, y: 0 },
liberties: Some(0),
liberties: None,
color,
}),
None => IntersectionElement::Empty(Request::PlayStoneRequest(