aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMirek Kratochvil <exa.exa@gmail.com>2026-11-20 09:13:31 +0100
committerMirek Kratochvil <exa.exa@gmail.com>2026-11-20 09:13:31 +0100
commit9680e967dd687f42776edc639ac1fa483dec3260 (patch)
tree71da859a39f3f1a1273cfb38a132dbb5a8fe97ea
parentf5b9ce8a7bb2d8f81cd802925e1e3d1dcb36bb7a (diff)
downloadls47-9680e967dd687f42776edc639ac1fa483dec3260.tar.gz
ls47-9680e967dd687f42776edc639ac1fa483dec3260.tar.bz2
improve a lil bit
-rwxr-xr-xls47.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/ls47.py b/ls47.py
index 0c1ec64..68302a3 100755
--- a/ls47.py
+++ b/ls47.py
@@ -11,9 +11,7 @@ import random
import sys
letters = "_ABCDEFGHIJKLMNOPQRSTUVWXYZ.,:?!'()0123456789+-*/"
-tiles = list(
- zip(letters, map(lambda x: ((7 - x // 7) % 7, (7 - x % 7) % 7), range(7 * 7)))
-)
+tiles = list( zip(letters, map(lambda x: ((48 - x) // 7, (49 - x) % 7), range(7 * 7))))
padding_size_min = 5
padding_size_max = 15