diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-02-13 11:31:42 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-02-13 11:31:42 +0100 |
commit | df5909c22a771851ba73a42975f42fab9c7541af (patch) | |
tree | b1ca7c06a3eb2079405b1546fc4bc4f3bb52eb78 /console/v2.py | |
parent | 8ed583afc05901c17f3226421988758119dacd65 (diff) |
v2 -> voerbak in c
Diffstat (limited to 'console/v2.py')
-rw-r--r-- | console/v2.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/console/v2.py b/console/v2.py index 6531fff..16fae64 100644 --- a/console/v2.py +++ b/console/v2.py @@ -75,6 +75,8 @@ def main(): while True: gert.print() column = int(input("column?: ")) - 1 + if column not in range(gert.width): + continue os.system("clear") gert.drop_fisje(column, DISC_A if disc_a else DISC_B) disc_a = not disc_a |