lil late, because i was braindead yesterday. Code was correct, however

i had to better interpret my output. which would lead me to make
a better print statement of the output
This commit is contained in:
2020-12-06 17:46:17 +01:00
parent 613823d21e
commit 0c0570ebb9
2 changed files with 52 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ for line in lines:
row = b >> 3
col = b & int("0000000111", 2) # idk if you can do this with bitshifting too, this felt kinda cheap
score = row * 8 + col
print(score)
if score > lastScore:
lastScore = score