From c426d7718b75574c3073810f4283ed492b4f9841 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 20 Oct 2021 09:23:05 -0400 Subject: added GAMEPLAY comment and removed unused argument from FullDraw() --- main.py | 6 ++++-- 1 file 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 -- cgit v1.2.3