🧠Concept

Pick the right answer.

Concept · Q1
Your launched game runs less smooth when you add more enemies. What is that?
Concept · Q2
Which sentence names a job that weighs this same tradeoff?
Concept · Q3
Which pair of blocks measures how smooth one test run is?
Concept · Q4
You want to learn which version your players like better. What fits best?

👀Code Reading

Look at the blocks. Predict what happens.

Code Reading · CR1
option is 2. You call apply option. What are the two numbers after it runs?
define apply option
if <(option) = (1)> then
  set [spawn_delay v] to (3)
  set [enemy_speed v] to (2)
else
  set [spawn_delay v] to (1)
  set [enemy_speed v] to (5)
end
Code Reading · CR2
The votes list holds 1, 2, 1. The loop runs. What are vote_1 and vote_2?
define count votes
set [vote_1 v] to (0)
set [vote_2 v] to (0)
set [i v] to (1)
repeat (length of [votes v])
  if <(item (i) of [votes v]) = [1]> then
    change [vote_1 v] by (1)
  else
    change [vote_2 v] by (1)
  end
  change [i v] by (1)
end
Code Reading · CR3
This runs after a test run. What does test_results hold?
when I receive [test_2 v]
set [option v] to (2)
apply option ::custom
measure smooth ::custom
add (frames) to [test_results v]

🐛Find the Bug

Something is broken. Pick the fix.

The second test run always looks smoother than the first, even with many more enemies.

define measure smooth
set [enemies v] to ((6) / (spawn_delay))
repeat ((60) / (enemies))
  change [frames v] by (1)
end

🛠️Build It

Pick a level. Build it. Check the boxes.

🧑‍🏫
For the teacher

Review the student's project, then check each thing they did.

Project Evaluation

0 of 5 ticked

💬Talk About It

Present your project to your teacher or a classmate.

  1. 1️⃣Show your two test runs to your teacher or a friend.
  2. 2️⃣Point to four things: (1) the two numbers inside apply option; (2) the two counts in test_results — say which run was smoother; (3) the vote count from your players; (4) the if <(vote_1) > (vote_2)> block that picks the winner.
  3. 3️⃣Then say one benefit and one risk of the busy version, and name one job that weighs this same choice at work.
🧑‍🏫
For the teacher

Watch the student present, then check each thing they did.

Presentation Checklist

0 of 5 ticked

📤Submit

Send your results to your teacher and parent.

0 of 0 answered