OSDN Git Service
(root)
/
python-games
/
python-games.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15dbeff
)
win10 でも動きます
author
yamat0jp
<yamat0jp@yahoo.co.jp>
Sat, 28 Apr 2018 00:14:24 +0000
(09:14 +0900)
committer
yamat0jp
<yamat0jp@yahoo.co.jp>
Sat, 28 Apr 2018 00:14:24 +0000
(09:14 +0900)
reversi/reversi.py
patch
|
blob
|
history
diff --git
a/reversi/reversi.py
b/reversi/reversi.py
index
c85e84d
..
0e0e7ce
100644
(file)
--- a/
reversi/reversi.py
+++ b/
reversi/reversi.py
@@
-139,7
+139,7
@@
class StoneGrid():
q = Effect(x+m*j,y+n*j)
self.item.grid[q.Left][q.Top] = effect
self.effect_stone = stone
- th = threading.Timer(0.
1
,self.th_run,args=(q,))
+ th = threading.Timer(0.
2*j
,self.th_run,args=(q,))
self.list.append(th)
th.start()
else:
@@
-211,6
+211,7
@@
class StoneGrid():
self.item.grid[st.Left][st.Top] = self.effect_stone
break
self.Paint(st)
+ time.sleep(0.01)
def proc(self):
if self.turn_index < 60: