← 수업 제작 도구
홈 › Components › Challenge Creator (챌린지 크리에이터)

Challenge Creator (챌린지 크리에이터)

원본: Computation Layer 문서(Challenge Creator (챌린지 크리에이터)). 문서의 Try It 예제가 가리키는 화면 6개를 기록했고, 화면마다 CL 코드를 한국어로 풀어 썼다.

문서에는 이 구성요소의 항목이 8개 있고, Try It 예제는 활동 6개로 흩어져 있다. challengeBounds는 challengeBackground와, responseBounds는 responseBackground와 같은 화면을 가리켜서 화면은 6개이다. 화면 왼쪽에는 "챌린지 만들기"와 "챌린지 풀기" 화면들이 이어지는 모습이 보인다. 코드에 나오는 inputCC1, mcCC2, sketch1, sketch2는 이 화면에 없는 이름이고, 코드 주석은 이 이름들을 첫 번째 화면, 두 번째 화면의 것으로 설명한다. 화면 4와 6의 안내 주소는 화면 1, 2, 3, 5와 달라요.

화면이름CL 수문서 항목 설명 (원문 일부)
1Challenge Creator.preventSubmissionReason [Sink]2preventSubmissionReason: Can the student submit this challenge? Provide an error message if not, empty string if so.
2Challenge Creator.preventChallengeCreationReason [Sink]2preventChallengeCreationReason: Has the challenge creator correctly set up their challenge? Warning if not, empty string if so.
3Challenge Creator.challengeText [Sink]2challengeText: Specify text to display on the thumbnail of the challenge or the response.
4Challenge Creator.challengeBackground [Sink]2challengeBackground: Specify a thumbnail image for the challenge. | challengeBounds: Set the bounds of the challengeBackground.
5Challenge Creator.responseText [Sink]2responseText: Specify text to display on the thumbnail of the challenge or the response.
6Challenge Creator.responseBackground [Sink]2responseBackground: Specify a thumbnail image for the response. | responseBounds: Set the bounds of the responseBackground.