From a2575370f9fa40c0ee7c57cb442514affafc9b83 Mon Sep 17 00:00:00 2001 From: Thaloria Date: Mon, 24 Jul 2023 13:51:16 +0200 Subject: [PATCH] added async stone detection thread --- tetromino.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tetromino.py b/tetromino.py index e4314d5..6f2288a 100644 --- a/tetromino.py +++ b/tetromino.py @@ -198,17 +198,17 @@ class Tetromino(): } elif mode == 3: offset_map= { - 'i': {0: 8, 1: 9, 2: 8, 3: 9}, + 'i': {0: 8, 1: 10, 2: 8, 3: 10}, 'a': {0: 9, 1: 9, 2: 9, 3: 9}, 'b': {0: 9, 1: 9, 2: 9, 3: 9}, - 'c': {0: 10, 1: 10, 2: 10, 3: 10}, + 'c': {0: 8, 1: 8, 2: 8, 3: 8}, 'o': {0: 9, 1: 9, 2: 9, 3: 9}, 'd': {0: 9, 1: 9, 2: 9, 3: 9}, - 't': {0: 9, 1: 9, 2: 8, 3: 9}, + 't': {0: 8, 1: 8, 2: 9, 3: 8}, 's': {0: 9, 1: 9, 2: 9, 3: 9}, 'z': {0: 9, 1: 9, 2: 9, 3: 9}, - 'j': {0: 8, 1: 9, 2: 9, 3: 9}, - 'l': {0: 8, 1: 9, 2: 9, 3: 9} + 'j': {0: 9, 1: 8, 2: 8, 3: 8}, + 'l': {0: 9, 1: 8, 2: 8, 3: 8} } else: #mode == 4: offset_map = {