Add scoring system with JSON configuration and point calculation logic
This commit is contained in:
29
scoring.json
Normal file
29
scoring.json
Normal 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
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user