Included gomill framework for SGF and GTP support, and sketched out SGF game-loading code.

This commit is contained in:
2012-04-21 04:27:05 -04:00
parent 700a6a2f32
commit 692dc294d6
119 changed files with 27458 additions and 3 deletions

16
pygo.py
View File

@ -6,6 +6,7 @@
import sys
sys.path.append('lib/')
sys.path.append('widgets/')
sys.path.append('gomill/')
import goban
import config
@ -50,6 +51,14 @@ class Pygo():
return True
def on_game_save(self, widget):
print 'stub: Pygo.on_game_save()'
def on_game_save_as(self, widget):
print 'stub: Pygo.on_game_save_as()'
def on_game_close(self, widget):
if self.games.get_current_page() == -1:
return
@ -65,9 +74,12 @@ class Pygo():
game.winner_box.hide()
def on_local_load_sgf(self, widget):
print 'stub: Pygo.on_local_load_sgf()'
def on_net_direct(self, widget):
print 'stub: Pygo.on_menu_net_direct()'
print 'stub: Pygo.on_net_direct()'
def on_quit(self, widget):