visuco
Challenge 6 of 16

A question asked every frame can decide a colour just as well as a direction, and then the ball tells you where it is by what it looks like. It goes red on the right-hand side of the canvas and blue on the left.

Set the number where the colour changes.

Your code JavaScript

Set the number where the colour changes.

0 / 40 frames · 400×400
Target
Yours
Results
0%
Press Run to check your code
Penalties: none this run

Report this challenge