Implement the basic rules of Go #40
|
@ -76,7 +76,7 @@ impl From<&Board> for BoardElement {
|
||||||
.map(|column| match board.stone(&Coordinate { column, row }) {
|
.map(|column| match board.stone(&Coordinate { column, row }) {
|
||||||
Some(color) => IntersectionElement::Filled(StoneElement {
|
Some(color) => IntersectionElement::Filled(StoneElement {
|
||||||
jitter: Jitter { x: 0, y: 0 },
|
jitter: Jitter { x: 0, y: 0 },
|
||||||
liberties: Some(0),
|
liberties: None,
|
||||||
color,
|
color,
|
||||||
}),
|
}),
|
||||||
None => IntersectionElement::Empty(Request::PlayStoneRequest(
|
None => IntersectionElement::Empty(Request::PlayStoneRequest(
|
||||||
|
|
Loading…
Reference in New Issue