git.ucc.asn.au
/
progcomp2013.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Making dedicated match making server
[progcomp2013.git]
/
qchess
/
src
/
graphics.py
diff --git
a/qchess/src/graphics.py
b/qchess/src/graphics.py
index
fefcbf3
..
fcfc1b5
100644
(file)
--- a/
qchess/src/graphics.py
+++ b/
qchess/src/graphics.py
@@
-367,6
+367,7
@@
class GraphicsThread(StoppableThread):
#print "Reject " + str(i) + str(event.pos) + " vs " + str(t)
#print "Reject " + str(i) + str(event.pos) + " vs " + str(t)
+
# Function to pick players in a nice GUI way
def SelectPlayers(self, players = []):
# Function to pick players in a nice GUI way
def SelectPlayers(self, players = []):
@@
-429,7
+430,7
@@
class GraphicsThread(StoppableThread):
time.sleep(1)
p = None
players.append(p)
time.sleep(1)
p = None
players.append(p)
- elif choice ==
2
:
+ elif choice ==
1
:
address = ""
while address == "":
self.board.display_grid(self.window, self.grid_sz)
address = ""
while address == "":
self.board.display_grid(self.window, self.grid_sz)
UCC
git Repository :: git.ucc.asn.au