Fix config loading, speed thresholds and block selection; add tests, README, CLAUDE.md
This commit is contained in:
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"ALL_BLOCKS": {
|
||||
"__type__": "EnumClass",
|
||||
"name": "BlockType",
|
||||
"members": {
|
||||
"O": {
|
||||
"name": "Square",
|
||||
"color": [255,255,0],
|
||||
"min_score": 0,
|
||||
"shapes": [
|
||||
[[1,1],[1,1]]
|
||||
]
|
||||
},
|
||||
"I": {
|
||||
"name": "Line",
|
||||
"color": [0,255,255],
|
||||
"min_score": 0,
|
||||
"shapes": [
|
||||
[[1,1,1,1]],
|
||||
[[1],[1],[1],[1]]
|
||||
]
|
||||
},
|
||||
"I3": {
|
||||
"name": "Line3",
|
||||
"color": [55,180,210],
|
||||
"min_score": 0,
|
||||
"shapes": [
|
||||
[[1,1,1]],
|
||||
[[1],[1],[1]]
|
||||
]
|
||||
},
|
||||
"L": {
|
||||
"name": "L-Shape",
|
||||
"color": [255,0,255],
|
||||
"min_score": 0,
|
||||
"shapes": [
|
||||
[[1, 0], [1, 0], [1, 1]],
|
||||
[[1, 1, 1], [1, 0, 0]],
|
||||
[[1, 1], [0, 1], [0, 1]],
|
||||
[[0, 0, 1], [1, 1, 1]]
|
||||
]
|
||||
},
|
||||
"J": {
|
||||
"name": "J-Shape",
|
||||
"color": [0,0,255],
|
||||
"min_score": 900,
|
||||
"shapes": [
|
||||
[[0, 1], [0, 1], [1, 1]],
|
||||
[[1, 0, 0], [1, 1, 1]],
|
||||
[[1, 1], [1, 0], [1, 0]],
|
||||
[[1, 1, 1], [0, 0, 1]]
|
||||
]
|
||||
},
|
||||
"S": {
|
||||
"name": "S-Shape",
|
||||
"color": [0,255,0],
|
||||
"min_score": 1000,
|
||||
"shapes": [
|
||||
[[0, 1, 1], [1, 1, 0]],
|
||||
[[1, 0], [1, 1], [0, 1]]
|
||||
]
|
||||
},
|
||||
"Z": {
|
||||
"name": "Z-Shape",
|
||||
"color": [255,0,0],
|
||||
"min_score": 2500,
|
||||
"shapes": [
|
||||
[[1, 1, 0], [0, 1, 1]],
|
||||
[[0, 1], [1, 1], [1, 0]]
|
||||
]
|
||||
},
|
||||
"T": {
|
||||
"name": "T-Shape",
|
||||
"color": [255,255,255],
|
||||
"min_score": 2500,
|
||||
"shapes": [
|
||||
[[1, 1, 1], [0, 1, 0]],
|
||||
[[1, 0], [1, 1], [1, 0]],
|
||||
[[0, 1, 0], [1, 1, 1]],
|
||||
[[0, 1], [1, 1], [0, 1]]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user