Open computer-idol opened 4 years ago
the result is computed there, and you can then just call winner
on this GameResult
when the game is over,many dead stones(don't have two eyes) may still remain in the board.How to identify them? remove them by hand first?
I'm interested in the game of go and want to have my own AI.Now I'm very lucky to read your wonderful book---Deep Learning and the Game of Go. The problem is that I don't seem to see the explanation of an algorithm that can compute the winner in your book,which is important for the game of go. Can you explain the implementation? The link address is https://github.com/maxpumperla/deep_learning_and_the_game_of_go/blob/chapter_4/code/dlgo/scoring.py