Add scoring system with JSON configuration and point calculation logic

This commit is contained in:
2025-01-21 17:41:02 +09:00
parent 4243edfbfb
commit 9b29147f94
4 changed files with 574 additions and 0 deletions

29
scoring.json Normal file
View File

@@ -0,0 +1,29 @@
{
"0": {
"type": "scene",
"ele": "$.scenes[0].name",
"value": "장면 1",
"points": 10
},
"1": {
"type": "scene",
"ele": "$.scenes[1].name",
"value": "장면 2",
"points": 10
},
"2": {
"type": "script",
"ele": "$.objects[?(@.name=='미어캣')].script[*]",
"blocks": [
{
"ele": "$[*][?(@.type=='hide')]",
"points": 10
},
{
"ele": "$[*][?(@.type=='set_scale_size')].params[0].params[0]",
"points": 10
}
]
}
}