From 04484b38dac51c0b5fd77d93933843f6d72221b1 Mon Sep 17 00:00:00 2001 From: tali Date: Wed, 14 Dec 2022 09:55:59 -0500 Subject: [PATCH] Check in SRS specification file --- assets/srs.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 assets/srs.json diff --git a/assets/srs.json b/assets/srs.json new file mode 100644 index 0000000..a32dac1 --- /dev/null +++ b/assets/srs.json @@ -0,0 +1,32 @@ +{ + "spawn": [4, 19], + "shapes": { + "I": [[-1, 0], [ 0, 0], [ 1, 0], [ 2, 0]], + "J": [[-1, 1], [-1, 0], [ 0, 0], [ 1, 0]], + "L": [[ 1, 1], [-1, 0], [ 0, 0], [ 1, 0]], + "O": [[ 0, 0], [ 1, 0], [ 0, 1], [ 1, 1]], + "S": [[-1, 0], [ 0, 0], [ 0, 1], [ 1, 1]], + "T": [[ 0, 1], [-1, 0], [ 0, 0], [ 1, 0]], + "Z": [[ 1, 0], [ 0, 0], [ 0, 1], [-1, 1]] + }, + "kicks": { + "JLSTZ": [ + [[ 0, 0], [ 0, 0], [ 0, 0], [ 0, 0], [ 0, 0]], + [[ 0, 0], [ 1, 0], [ 1,-1], [ 0, 2], [ 1, 2]], + [[ 0, 0], [ 0, 0], [ 0, 0], [ 0, 0], [ 0, 0]], + [[ 0, 0], [-1, 0], [-1,-1], [ 0, 2], [-1, 2]] + ], + "I": [ + [[ 0, 0], [-1, 0], [ 2, 0], [-1, 0], [ 2, 0]], + [[-1, 0], [ 0, 0], [ 0, 0], [ 0, 1], [ 0,-2]], + [[-1, 1], [ 1, 1], [-2, 1], [ 1, 0], [-2, 0]], + [[ 0, 1], [ 0, 1], [ 0, 1], [ 0,-1], [ 0, 2]] + ], + "O": [ + [[ 0, 0]], + [[ 0,-1]], + [[-1,-1]], + [[-1, 0]] + ] + } +}