From 9680e967dd687f42776edc639ac1fa483dec3260 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Fri, 20 Nov 2026 09:13:31 +0100 Subject: improve a lil bit --- ls47.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ls47.py') 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 -- cgit v1.2.3