visualizing valid and invalid go states

For discussing go computing, software announcements, etc.
skydyr
Oza
Posts: 2495
Joined: Wed Aug 01, 2012 8:06 am
GD Posts: 0
Universal go server handle: skydyr
Online playing schedule: When my wife is out.
Location: DC
Has thanked: 156 times
Been thanked: 436 times

Re: visualizing valid and invalid go states

Post by skydyr »

Depending on the ruleset, there is also a state where one side can play on an intersection, but the other side cannot because they would commit suicide, either for the stone played or for that stone and an attached group that was in atari.
dohduhdah
Dies with sente
Posts: 109
Joined: Tue Oct 26, 2010 5:57 pm
Rank: KGS 4 kyu
GD Posts: 0
KGS: kneh
Has thanked: 8 times
Been thanked: 4 times

Re: visualizing valid and invalid go states

Post by dohduhdah »

skydyr wrote:Depending on the ruleset, there is also a state where one side can play on an intersection, but the other side cannot because they would commit suicide, either for the stone played or for that stone and an attached group that was in atari.
As far as I know, the ruleset doesn't make any difference regarding the number of positions KGS lets you set up when you edit a custom game.
Last edited by dohduhdah on Sun Jun 22, 2014 2:51 pm, edited 1 time in total.
skydyr
Oza
Posts: 2495
Joined: Wed Aug 01, 2012 8:06 am
GD Posts: 0
Universal go server handle: skydyr
Online playing schedule: When my wife is out.
Location: DC
Has thanked: 156 times
Been thanked: 436 times

Re: visualizing valid and invalid go states

Post by skydyr »

dohduhdah wrote:
skydyr wrote:Depending on the ruleset, there is also a state where one side can play on an intersection, but the other side cannot because they would commit suicide, either for the stone played or for that stone and an attached group that was in atari.
As far as I know, the ruleset doesn't make any difference regarding the number of positions kgs lets you set up when you edit a custom game.
It allows suicide under NZ rules but not the other rulesets. If you start from an arbitrary board position, are you concerned with whether or not anyone is able to play on a particular empty intersection legally? I mean apart from ko, which you said you did not care about because it depended on the order of previous moves, as I recall.
dohduhdah
Dies with sente
Posts: 109
Joined: Tue Oct 26, 2010 5:57 pm
Rank: KGS 4 kyu
GD Posts: 0
KGS: kneh
Has thanked: 8 times
Been thanked: 4 times

Re: visualizing valid and invalid go states

Post by dohduhdah »

skydyr wrote: It allows suicide under NZ rules but not the other rulesets. If you start from an arbitrary board position, are you concerned with whether or not anyone is able to play on a particular empty intersection legally? I mean apart from ko, which you said you did not care about because it depended on the order of previous moves, as I recall.
I'm not concerned with moves at all. I'm concerned with states (a given position, like the way KGS lets
you set up a position in terms of stones on the goban, where all stones and chains have at least 1 liberty).
Moves are combinations of two states, so that's really irrelevant for the discussion regarding individual
states that are categorically valid or invalid.
hyperpape
Tengen
Posts: 4382
Joined: Thu May 06, 2010 3:24 pm
Rank: AGA 3k
GD Posts: 65
OGS: Hyperpape 4k
Location: Caldas da Rainha, Portugal
Has thanked: 499 times
Been thanked: 727 times

Re: visualizing valid and invalid go states

Post by hyperpape »

Seriously, it's clear what the OP was interested in, and whether or not state is the right way to describe it, let's not waste our time on a dumb terminalogical point.
Mike Novack
Lives in sente
Posts: 1045
Joined: Mon Aug 09, 2010 9:36 am
GD Posts: 0
Been thanked: 182 times

Re: visualizing valid and invalid go states

Post by Mike Novack »

I think there is a terminology problem. And yes, I did understand the original purpose.

Let me try to make it a bit clearer?

Of course for just determining if a particular arrangement of stones on the board is possible (legal) one can speak of "the state of the board". But what I am saying is that a particular arrangement of stones on the board might be more than one statefor the purposes of the game of go.

Let me try to put it another way. Doduhdah, are you not intending to be able to determine if given a state (the way you want to define it) can be transitioned into some other state? << by adding a stone; aka, making a move >> In other words, after you have determined "this is a legal state" being unable to determine what states would be possible subsequent states?
dohduhdah
Dies with sente
Posts: 109
Joined: Tue Oct 26, 2010 5:57 pm
Rank: KGS 4 kyu
GD Posts: 0
KGS: kneh
Has thanked: 8 times
Been thanked: 4 times

Re: visualizing valid and invalid go states

Post by dohduhdah »

Mike Novack wrote:I think there is a terminology problem. And yes, I did understand the original purpose.

Let me try to make it a bit clearer?

Of course for just determining if a particular arrangement of stones on the board is possible (legal) one can speak of "the state of the board". But what I am saying is that a particular arrangement of stones on the board might be more than one statefor the purposes of the game of go.

Let me try to put it another way. Doduhdah, are you not intending to be able to determine if given a state (the way you want to define it) can be transitioned into some other state? << by adding a stone; aka, making a move >> In other words, after you have determined "this is a legal state" being unable to determine what states would be possible subsequent states?
Sorry for the confusion. In the context of this discussion regarding the visualization of valid and
invalid states, I'm only interested in individual states and not in sequences of states (like a move,
which is a sequence of two states).

The number of valid states for a 3x3 goban is 12675 and that's exactly the number of positions KGS will
let you set up when you edit a custom game, as opposed to the 7008 states KGS will not let
you set up on a 3x3 goban, because they involve at least one stone or chain that lacks liberties.

So for this notion of validity that is only concerned with individual states, the only aspect that is relevant
is whether or not all chains/stones on the goban have at least one liberty.
Last edited by dohduhdah on Mon Jun 23, 2014 10:10 am, edited 1 time in total.
hyperpape
Tengen
Posts: 4382
Joined: Thu May 06, 2010 3:24 pm
Rank: AGA 3k
GD Posts: 65
OGS: Hyperpape 4k
Location: Caldas da Rainha, Portugal
Has thanked: 499 times
Been thanked: 727 times

Re: visualizing valid and invalid go states

Post by hyperpape »

Stop using the word "state"! Both of you! You're killing me.
xed_over
Oza
Posts: 2264
Joined: Mon Apr 19, 2010 11:51 am
Has thanked: 1179 times
Been thanked: 553 times

Re: visualizing valid and invalid go states

Post by xed_over »

hyperpape wrote:Stop using the word "state"! Both of you! You're killing me.
instead, they could use: condition, shape, situation, circumstances, position, predicament, plight
dohduhdah
Dies with sente
Posts: 109
Joined: Tue Oct 26, 2010 5:57 pm
Rank: KGS 4 kyu
GD Posts: 0
KGS: kneh
Has thanked: 8 times
Been thanked: 4 times

Re: visualizing valid and invalid go states

Post by dohduhdah »

hyperpape wrote:Stop using the word "state"! Both of you! You're killing me.
Somehow I feel that 'valid state' seems more appropriate than 'legal position'.


I thought state space was a fairly universally accepted concept.

http://en.wikipedia.org/wiki/State_space

"In games, the state space is the set of all possible configurations within the game."
xed_over
Oza
Posts: 2264
Joined: Mon Apr 19, 2010 11:51 am
Has thanked: 1179 times
Been thanked: 553 times

Re: visualizing valid and invalid go states

Post by xed_over »

And this would be neither a valid state nor a legal position nor possible configuration.
Click Here To Show Diagram Code
[go]$$
$$+---+
$$|.XO|
$$|..X|
$$|...|
$$+---+[/go]
dohduhdah
Dies with sente
Posts: 109
Joined: Tue Oct 26, 2010 5:57 pm
Rank: KGS 4 kyu
GD Posts: 0
KGS: kneh
Has thanked: 8 times
Been thanked: 4 times

Re: visualizing valid and invalid go states

Post by dohduhdah »

xed_over wrote:And this would be neither a valid state nor a legal position nor possible configuration.
Click Here To Show Diagram Code
[go]$$
$$+---+
$$|.XO|
$$|..X|
$$|...|
$$+---+[/go]

Yes, one of the 7008 possible invalid states on a 3x3 goban.
User avatar
Bonobo
Oza
Posts: 2226
Joined: Fri Dec 23, 2011 6:39 pm
Rank: OGS 13k
GD Posts: 0
OGS: trohde
Universal go server handle: trohde
Location: Lüneburg Heath, North Germany
Has thanked: 8263 times
Been thanked: 925 times
Contact:

Re: visualizing valid and invalid go states

Post by Bonobo »

Wbt the word “constellation”, as this is not only about position but about position of stones in relation to other stones’ positions.

Grtz, Tom
“The only difference between me and a madman is that I’m not mad.” — Salvador Dali
hyperpape
Tengen
Posts: 4382
Joined: Thu May 06, 2010 3:24 pm
Rank: AGA 3k
GD Posts: 65
OGS: Hyperpape 4k
Location: Caldas da Rainha, Portugal
Has thanked: 499 times
Been thanked: 727 times

Re: visualizing valid and invalid go states

Post by hyperpape »

I actually tend to use state the way Mike does, and I think that's more common in abstract discussions of the game, rules, etc.
Mike Novack
Lives in sente
Posts: 1045
Joined: Mon Aug 09, 2010 9:36 am
GD Posts: 0
Been thanked: 182 times

Re: visualizing valid and invalid go states

Post by Mike Novack »

Question:

Assuming the original definition of legal state (all groups have at least one liberty) there is a question of "reachable" states. Take this example:
Click Here To Show Diagram Code
[go]$$
$$+---+
$$|X.O|
$$|XX.|
$$|.X.|
$$+---+[/go]
[/quote]

In go, black and white stones are placed alternately and once placed, not moved unless removed by capture. Only one white stone could have been captured (the number of black stones placed on the board can never be less than the number of white stones placed) so there are too few white stones present in the diagram.

So that would be a legal state but not a reachable legal state?
Post Reply