A lot of gtp cleanup this time, and some nice features too:
Full gtp undo support !
Territory scoring support in playouts, so Pachi can play correctly by japanese rules.
Handle some gnugo final_status_list extensions used by ElyGo, will make scoring nicer on android.
Saner pass_is_safe() logic
Don't score unfinished games in final_score cmd
Lots of api cleanup, best_moves and engines' init in particular
For territory scoring came across an old thread on computer go mailing list which was very insightful. Didn't think deriving territory scoring from playouts' area scoring could be so elegant. Still would need to handle eyes in seki for full japanese rules compliance but this is already really good. Pachi correctly passes when pass is the only move under japanese rules now.
For undo we just keep track for move history at the gtp level and reload board + engine when undo comes =)
A lot of gtp cleanup this time, and some nice features too:
For territory scoring came across an old thread on computer go mailing list which was very insightful. Didn't think deriving territory scoring from playouts' area scoring could be so elegant. Still would need to handle eyes in seki for full japanese rules compliance but this is already really good. Pachi correctly passes when pass is the only move under japanese rules now.
For undo we just keep track for move history at the gtp level and reload board + engine when undo comes =)