시작하기 클릭이 여러개 있는 경우 배열에 추가하고 정렬하도록 수정(2506 CAS 2급 채점 완료)

This commit is contained in:
2025-07-10 13:08:58 +09:00
parent 0fd9c9e8c0
commit 23946baccf
18 changed files with 22419 additions and 24 deletions

90
correct/2401B.json Normal file
View File

@@ -0,0 +1,90 @@
{
"1-1": {
"type": "scene",
"ele": "$.scenes[0].name",
"answer": "꽃밭",
"points": 1.7,
"desc": "장면 1 이름 변경"
},
"1-2": {
"type": "scene",
"ele": "$.scenes[1].name",
"answer": "숲속",
"points": 1.7,
"desc": "장면 2 이름 변경"
},
"1-3": {
"type": "scene",
"ele": "$..objects[?(@.name=='당근')]",
"points": 1.7,
"desc": "장면 2 이름 변경"
},
"1-4": {
"type": "scene",
"ele": "$..objects[?(@.name=='하트')]",
"points": 1.7,
"desc": "장면 2 이름 변경"
},
"2": {
"type": "script",
"ele": "$.objects[?(@.name=='미어캣')].script[*]",
"blocks": [
{
"ele": "$[*][?(@.type=='when_run_button_click')]",
"points": 1.33,
"desc": "시작하기 버튼을 눌렀을 때"
},
{
"ele": "$[*][?(@.type=='hide')]",
"points": 1.33,
"desc": "모양 숨기기 블럭"
},
{
"ele": "$[*][?(@.type=='set_scale_size')].params[0].params[0]",
"answer": "60",
"points": 1.33,
"desc": "크기 60으로 설정"
},
{
"ele": "$[*][?(@.type=='repeat_inf')]",
"points": 1.33,
"desc": "반복하기"
},
{
"ele": "$[*][?(@.type=='repeat_inf')].statements[0][0].params[*].params[?(@.type=='number')].params",
"answer": [
"-200",
"200",
"-100",
"100"
],
"points": 1.33,
"desc": "x"
},
{
"ele": "$[*][?(@.type=='repeat_inf')].statements[*][1].type",
"answer": "wait_second",
"points": 1.33,
"desc": "1초 기다리기"
},
{
"ele": "$[*][?(@.type=='repeat_inf')].statements[*][2].type",
"answer": "show",
"points": 1.33,
"desc": "모양 보이기"
},
{
"ele": "$[*][?(@.type=='repeat_inf')].statements[*][3].type",
"answer": "wait_second",
"points": 1.33,
"desc": "1초 기다리기"
},
{
"ele": "$[*][?(@.type=='repeat_inf')].statements[*][4].type",
"answer": "hide",
"points": 1.33,
"desc": "모양 숨기기"
}
]
}
}