-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42319 from code-dot-org/dtp_candidate_cebd3e42
DTP (Test > Production: cebd3e4)
- Loading branch information
Showing
77 changed files
with
7,710 additions
and
2,701 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
dashboard/config/blocks/GamelabJr/gamelab_playSoundOptions.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
function playSoundOptions(choice){ | ||
playSound(choice); | ||
} |
35 changes: 35 additions & 0 deletions
35
dashboard/config/blocks/GamelabJr/gamelab_playSoundOptions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"category": "World", | ||
"config": { | ||
"func": "playSoundOptions", | ||
"docFunc": "gamelab_playSoundOptions", | ||
"blockText": "play sound {SOUND}", | ||
"args": [ | ||
{ | ||
"name": "SOUND", | ||
"options": [ | ||
[ | ||
"accent", | ||
"'sound://category_accent/puzzle_game_accent_a_01.mp3'" | ||
], | ||
[ | ||
"boing", | ||
"'sound://category_digital/boing_2.mp3'" | ||
], | ||
[ | ||
"button", | ||
"'sound://category_app/app_button_1.mp3'" | ||
], | ||
[ | ||
"crunch", | ||
"'sound://category_collect/clicky_crunch.mp3'" | ||
], | ||
[ | ||
"swing", | ||
"'sound://category_swish/quick_swing.mp3'" | ||
] | ||
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name 'CSA U4L4-L3' | ||
title 'Check for Understanding' | ||
description 'Match each term to its correct definition.' | ||
height 'auto' | ||
question 'cast' | ||
answer 'to assign a value of one type to another' | ||
question 'relational operator' | ||
answer 'used to compare numeric values or arithmetic expressions' | ||
question 'truncate' | ||
answer 'remove everything to the right of the decimal point' | ||
question 'static method' | ||
answer 'a method that is called by the class instead of by an instance of the class' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name 'CSA U4L4-L5' | ||
title 'Check for Understanding' | ||
description 'What is printed as a result of the execution of the code segment?' | ||
|
||
right 'x = 5 y = -1' | ||
wrong 'x = 1 y = 1' | ||
wrong 'x = 3 y = 2' | ||
wrong 'x = -1 y = -1' | ||
wrong 'x = 4 y = 3' | ||
|
||
markdown <<MARKDOWN | ||
``` | ||
int x = 3; | ||
int y = -1; | ||
|
||
if (x - 2 > y) { | ||
x = x - y; | ||
} | ||
|
||
if (y + 3 >= x) { | ||
y = y + x; | ||
} | ||
|
||
System.out.print("x = " + x + " y = " + y); | ||
``` | ||
MARKDOWN |
5 changes: 5 additions & 0 deletions
5
dashboard/config/scripts/csd_u6_accelerometer_chal_2022.bubble_choice
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
name 'CSD U6 - Accelerometer - Chal_2022' | ||
display_name 'Challenge Levels' | ||
|
||
sublevels | ||
level 'CSD U6 - Accelerometer - CA_2022' |
5 changes: 5 additions & 0 deletions
5
dashboard/config/scripts/csd_u6_accelerometer_prac_2022.bubble_choice
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
name 'CSD U6 - Accelerometer - Prac_2022' | ||
display_name 'Practice Levels' | ||
|
||
sublevels | ||
level 'CSD U6 - Accelerometer - PA_2022' |
5 changes: 5 additions & 0 deletions
5
dashboard/config/scripts/csd_u6_music_chal_2022.bubble_choice
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
name 'CSD U6 - Music - Chal_2022' | ||
display_name 'Challenge Levels' | ||
|
||
sublevels | ||
level 'CSD U6 - Music - CA_2022' |
5 changes: 5 additions & 0 deletions
5
dashboard/config/scripts/csd_u6_sensors_chal_2022.bubble_choice
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
name 'CSD U6 - Sensors - Chal_2022' | ||
display_name 'Challenge Levels' | ||
|
||
sublevels | ||
level 'CSD U6 - Sensors - CA_2022' |
5 changes: 5 additions & 0 deletions
5
dashboard/config/scripts/csd_u6_sensors_prac_2022.bubble_choice
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
name 'CSD U6 - Sensors - Prac_2022' | ||
display_name 'Practice Levels' | ||
|
||
sublevels | ||
level 'CSD U6 - Sensors - PA_2022' |
21 changes: 21 additions & 0 deletions
21
dashboard/config/scripts/levels/CSA Music Video Demo.level
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<Javalab> | ||
<config><![CDATA[{ | ||
"properties": { | ||
"encrypted": "false", | ||
"encrypted_examples": [ | ||
|
||
], | ||
"long_instructions": "Demo for Unit 7 in The Theater", | ||
"mini_rubric": "false", | ||
"submittable": "false", | ||
"hide_share_and_remix": "false", | ||
"csa_view_mode": "theater" | ||
}, | ||
"game_id": 68, | ||
"published": true, | ||
"created_at": "2021-09-02T18:30:59.000Z", | ||
"level_num": "custom", | ||
"user_id": 9271, | ||
"audit_log": "[{\"changed_at\":\"2021-09-02 18:31:02 +0000\",\"changed\":[\"encrypted_examples\"],\"changed_by_id\":9271,\"changed_by_email\":\"jamila@code.org\"}]" | ||
}]]></config> | ||
</Javalab> |
66 changes: 66 additions & 0 deletions
66
dashboard/config/scripts/levels/CSA Pop the Balloons Demo.level
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<Javalab> | ||
<config><![CDATA[{ | ||
"properties": { | ||
"encrypted": "false", | ||
"long_instructions": "Demo for The Playground", | ||
"mini_rubric": "false", | ||
"submittable": "false", | ||
"hide_share_and_remix": "false", | ||
"csa_view_mode": "playground", | ||
"start_sources": { | ||
"MyPlayground.java": { | ||
"text": "public class MyPlayground {\n public static void main(String[] args) {\n\n\tPopBalloonsGame.play();\n \n }\n}", | ||
"isVisible": true | ||
}, | ||
"PopBalloonsGame.java": { | ||
"text": "public final class PopBalloonsGame {\n\n\n \n}", | ||
"isVisible": true | ||
}, | ||
"PopBalloonsDisplay.java": { | ||
"text": "public final class PopBalloonsDisplay {\n\n\n\n}", | ||
"isVisible": true | ||
}, | ||
"Balloons.java": { | ||
"text": "public class Balloons extends ClickableImage {\n\n\n\n}", | ||
"isVisible": true | ||
}, | ||
"RollButton.java": { | ||
"text": "public class RollButton extends ClickableImage {\n\n\n \n}", | ||
"isVisible": true | ||
} | ||
}, | ||
"starter_assets": { | ||
"balloon1.png": "8fbf1645-88a4-4203-92d0-286e38dbd024.png", | ||
"balloon2.png": "f3de569b-b655-42f7-af5d-bd023196aa1f.png", | ||
"balloon3.png": "8f734973-bb37-4343-ba15-fa4896792fa2.png", | ||
"balloon4.png": "988ad003-ddbd-4f46-9c7d-550f84fdf03d.png", | ||
"balloon5.png": "c21fcb7e-cd65-4824-af0f-cbc08c29fb2b.png", | ||
"balloon6.png": "1112f474-2d1b-4c1f-be1f-47bae4ded515.png", | ||
"balloon7.png": "b52afc09-3214-4db5-a1c5-4f0e7c64d5d8.png", | ||
"balloon8.png": "b97bbff0-1ca9-4e72-8800-b1d7b1536847.png", | ||
"balloon9.png": "5c0bd1eb-14c1-438e-8166-181ac321cdab.png", | ||
"balloon10.png": "afb1aa3f-61d9-44dd-9622-9243300457ff.png", | ||
"dice1.png": "794a8326-14cf-428b-a40f-2f3374b81973.png", | ||
"dice2.png": "411a2fee-95c1-4f94-9d12-19fba3e77e90.png", | ||
"dice3.png": "b112c0ea-7854-4395-9ec7-6310bf4aacb4.png", | ||
"dice4.png": "8311d244-3d63-4772-9699-84fbfd9e4fd7.png", | ||
"dice5.png": "b257c183-52e4-4a17-ad24-b499f573e69e.png", | ||
"dice6.png": "9de4f09c-f2a9-4ec3-9b51-f980a21b7c72.png", | ||
"poppedBlue.png": "f637f11f-ebf4-4396-a2c1-e900ff258cb1.png", | ||
"poppedGreen.png": "2d349bdf-1735-4802-93b4-795b0cf9af7f.png", | ||
"poppedOrange.png": "43cf60ed-6a6b-416b-b271-4f0136584573.png", | ||
"poppedPurple.png": "209e7e76-cba3-4e77-976a-a2344c3991db.png", | ||
"poppedTeal.png": "3ffe1fb8-4fa9-4927-88dd-ed96ed70d6db.png", | ||
"rollButton.png": "60c949b5-c889-4709-8791-0bfd6187149f.png", | ||
"pop.wav": "ef2d56e2-a98b-476b-bd11-e13a8a807141.wav", | ||
"diceRoll.wav": "6733d30a-a6a4-4520-93e1-223172888723.wav" | ||
} | ||
}, | ||
"game_id": 68, | ||
"created_at": "2021-09-02T18:04:34.000Z", | ||
"level_num": "custom", | ||
"user_id": 9271, | ||
"published": true, | ||
"audit_log": "[{\"changed_at\":\"2021-09-02 18:04:38 +0000\",\"changed\":[\"encrypted_examples\"],\"changed_by_id\":9271,\"changed_by_email\":\"jamila@code.org\"},{\"changed_at\":\"2021-09-02 18:13:04 +0000\",\"changed\":[],\"changed_by_id\":9271,\"changed_by_email\":\"jamila@code.org\"},{\"changed_at\":\"2021-09-02 18:14:43 +0000\",\"changed\":[\"start_sources\"],\"changed_by_id\":9271,\"changed_by_email\":\"jamila@code.org\"},{\"changed_at\":\"2021-09-02 18:29:42 +0000\",\"changed\":[],\"changed_by_id\":9271,\"changed_by_email\":\"jamila@code.org\"}]" | ||
}]]></config> | ||
</Javalab> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<Javalab> | ||
<config><![CDATA[{ | ||
"properties": { | ||
"encrypted": "false", | ||
"encrypted_examples": [ | ||
|
||
], | ||
"long_instructions": "exploring operators activity", | ||
"mini_rubric": "false", | ||
"submittable": "false", | ||
"hide_share_and_remix": "false", | ||
"csa_view_mode": "console" | ||
}, | ||
"game_id": 68, | ||
"published": true, | ||
"created_at": "2021-09-02T14:49:41.000Z", | ||
"level_num": "custom", | ||
"user_id": 9271, | ||
"audit_log": "[{\"changed_at\":\"2021-09-02 14:50:04 +0000\",\"changed\":[\"encrypted_examples\"],\"changed_by_id\":9271,\"changed_by_email\":\"jamila@code.org\"}]" | ||
}]]></config> | ||
</Javalab> |
Oops, something went wrong.