show x positionread the movement value
Lesson / Scratch & Game Design
The game fails only when the player reaches safety while being caught near the right edge. Random edits have made it stranger. Reproduce the fault, inspect the game state, and test one possible cause.
Record the shortest sequence that produces the wrong ending.
Display a relevant coordinate or game-state value.
Choose one possible cause and make a controlled test.
Make the smallest useful change, then repeat the original sequence.
Show the fault, the evidence, the repair, and a regression test.
show x positionread the movement value
say game_statemake the hidden mode visible
disable one scripttest a smaller system
repeat the same inputscheck that the fault is reproducible
Guided project
Reach the shelter before a huge pigeon catches you. Under the absurd premise is a precise system of coordinates, collision checks, and two possible endings.
Keyboard movement in four directions, Known starting positions, A pursuing pigeon, One or more safe areas.
Scratch, Coordinates, Movement, Collision, Game State.
A working version with a tested change, one repaired problem, and a clear explanation.