Page MenuHomePhabricator

D21667.diff
No OneTemporary

D21667.diff

diff --git a/support/arcanoid/arcanoid.py b/support/arcanoid/arcanoid.py
--- a/support/arcanoid/arcanoid.py
+++ b/support/arcanoid/arcanoid.py
@@ -212,11 +212,16 @@
i = int(time.time() / 0.8)
for x in range(width):
for y in range(6):
- game.addch(height / 2 + y - 3 + (x / 8 + i) % 2, x,
- curses.ACS_BLOCK,
- curses.A_BOLD | curses.color_pair(colors[y]))
- game.addstr(height / 2, (width - len(message)) / 2, message,
- curses.A_BOLD | curses.color_pair(7))
+ game.addch(
+ int(height / 2 + y - 3 + (x / 8 + i) % 2),
+ x,
+ curses.ACS_BLOCK,
+ curses.A_BOLD | curses.color_pair(colors[y]))
+ game.addstr(
+ int(height / 2),
+ int((width - len(message)) / 2),
+ message,
+ curses.A_BOLD | curses.color_pair(7))
game.refresh()
status.refresh()

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 16, 4:20 PM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7551167
Default Alt Text
D21667.diff (1 KB)

Event Timeline