Back to main page
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax <mahn.maxwell@gmail.com>2021-10-20 09:23:05 -0400
committerMax <mahn.maxwell@gmail.com>2021-10-20 09:23:05 -0400
commitc426d7718b75574c3073810f4283ed492b4f9841 (patch)
tree70e5c3dc5e2d47c7c6d5881c4d06dac3ebbf88e4
parent3bee476a1243b6164caa04b3410ade11d70ce988 (diff)
added GAMEPLAY comment and removed unused argument from FullDraw()
-rw-r--r--main.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.py b/main.py
index 6347055..5c0c1f9 100644
--- a/main.py
+++ b/main.py
@@ -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