Continued network mode implementation
This commit is contained in:
12
pygo.py
12
pygo.py
@ -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()
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user