MuGo icon indicating copy to clipboard operation
MuGo copied to clipboard

Is it possible for you to comment each line of the code for pedagogical purposes?

Open shyamalschandra opened this issue 8 years ago • 5 comments

Is it possible for you to comment each line of the code for pedagogical purposes?

shyamalschandra avatar Apr 10 '17 23:04 shyamalschandra

What sort of commentary are you looking for? I don't necessarily want to be in the business of writing python tutorials or tensorflow tutorials, but stuff like MCTS or stuff specific to alphago, maybe.

brilee avatar Apr 11 '17 02:04 brilee

Basically, if you could summarize the job of each function above it and comment lines where variables need to be defined.

shyamalschandra avatar Apr 11 '17 13:04 shyamalschandra

A lot of it is already pretty well commented at the top of each file, as to how the whole thing is arranged. Is there something in particular that you're confused by?

brilee avatar Apr 14 '17 02:04 brilee

i read your code and it confuse me a lot in the go.py,i want to know these functions:is_koish;is_eyeish(i think it's not really the true go rules);pass_move;flip_playerturn(.ko there is always set to None,I'm a little confused about it). and last one:play_move. when I run it with MCTS,sometimes there's a IllegalMove bug like move at (16,16) is illegal. I have study it for a long time ,but still can't resolve. thanks a lot !

initial-h avatar Nov 14 '17 09:11 initial-h

@brilee

initial-h avatar Nov 14 '17 09:11 initial-h