diff options
| author | Max <mahn.maxwell@gmail.com> | 2021-10-20 09:23:05 -0400 |
|---|---|---|
| committer | Max <mahn.maxwell@gmail.com> | 2021-10-20 09:23:05 -0400 |
| commit | c426d7718b75574c3073810f4283ed492b4f9841 (patch) | |
| tree | 70e5c3dc5e2d47c7c6d5881c4d06dac3ebbf88e4 | |
| parent | 3bee476a1243b6164caa04b3410ade11d70ce988 (diff) | |
added GAMEPLAY comment and removed unused argument from FullDraw()
| -rw-r--r-- | main.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -66,7 +66,7 @@ def DrawSquare(x, y, val, box_color): gamewin.addstr(y + 2, x, "+" + "-" * (scaleX - 2) + "+", curses.color_pair(box_color)) -def FullDraw(key): +def FullDraw(): gamewin.clear() gamewin.box() for i in range(maxY): @@ -206,9 +206,11 @@ def End(text): gamewin.getch() +# GAMEPLAY + userin = 0 while True: - FullDraw(userin) + FullDraw() userin = gamewin.getch() if userin == 81: # Q break |
