RU-CS530-Go-Team / GoLD

Solving Life and Death Problems in Go
1 stars 2 forks source link

Determining life #14

Closed MrTyton closed 9 years ago

MrTyton commented 9 years ago

Should work for determining all unconditional life: tested on some cases, but it's hard to create them in my head (could modify the gui to allow for easier creation of test cases; maybe can do so for the presentation?)

depthfirst commented 9 years ago

I see you have calculate_liberties() implemented in two places now. Maybe add it to Board class?

What did you have in mind for the GUI, for creation of test cases?

MrTyton commented 9 years ago

They each do slightly different things. One fo them takes in a list og groups, the other does it for only a single group.

For the creation of test cases, I was th inking the following (not really sure how to do it, GUIs aren't really my thing)

As it is right now, we can click to add stones to it, right? Why not after each move, we mark which groups of stones are alive (with a slightly different graphic), and every time that we make another move it reupdates with the ones that are alive. Also maybe have a save function, that just saves the current board as a pkl or something, that we can then load. Things like that would probably be useful for the demo, to show that yes, we can determine if something is alive or not

On Fri, Nov 28, 2014 at 9:41 AM, John Blackmore notifications@github.com wrote:

I see you have calculate_liberties() implemented in two places now. Maybe add it to Board class?

What did you have in mind for the GUI, for creation of test cases?

— Reply to this email directly or view it on GitHub https://github.com/RU-CS530-Go-Team/GoLD/pull/14#issuecomment-64900407.