Continued network mode implementation

This commit is contained in:
2012-04-15 19:52:58 -04:00
parent 4f5227cd82
commit f4680cc631
4 changed files with 126 additions and 38 deletions

12
pygo.py
View File

@ -18,15 +18,15 @@ def main():
# Data
gb = goban.Goban()
network_mode = False
our_color = None
gui = pygogui.GUI(gb)
gui = pygogui.GUI(gb, settings)
gui.update(gb)
gui.update()
while True:
gui.do_event(gb, network_mode, our_color)
gui.update(gb)
# All of the real work happens in pygogui
# It keeps a copy of all the relevant data
gui.do_event()
gui.update()