From 967de16bef74d49d1da23c1264920811eff8eef5 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Fri, 20 Nov 2026 09:00:55 +0100 Subject: fix the letters order to match the board with arrows --- ls47.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ls47.py') diff --git a/ls47.py b/ls47.py index ae8b201..2b6b1aa 100755 --- a/ls47.py +++ b/ls47.py @@ -11,7 +11,9 @@ import random import sys letters = "_ABCDEFGHIJKLMNOPQRSTUVWXYZ.,:?!'()0123456789+-*/" -tiles = list(zip(letters, map(lambda x: (x // 7, x % 7), range(7 * 7)))) +tiles = list( + zip(letters, map(lambda x: ((7 - x // 7) % 7, (7 - x % 7) % 7), range(7 * 7))) +) padding_size_min = 5 padding_size_max = 15 -- cgit v1.2.3