Wire Solid signals to the Agustusan lamps of Gang Rambutan and see the DOM write only what changed. 15 levels, right in the browser.
What the levels ask
Agustusan night in Rambutan Lane opens with the sack race. The scoreboard is up, but the RT 02 number is not wired to its signal yet. Pick what goes in the <b> so that number flickers and goes up every time Bagas wins, with no other lamp flickering along.
Rara wants to play marbles for RT 01. The code is done and needs no change. Guess first: when Rara presses Gol RT 01 (goal for Neighbourhood 01) for the first time, which lamps will change? Tap the lamps, then watch the evening.
Mrs. Sari wants the TOTAL row under the board to show Neighbourhood 01's and Neighbourhood 02's points added up, and to go up on its own every time Neighbourhood 02 wins. Pick what goes in total.
Dina counts the cheers of Neighbourhood 02's supporters beside its row. Put the Baris component into Papan so Neighbourhood 02's number goes up when Bagas wins, without tearing that row down: Dina's cheer count must not be lost.
Mr. Bayu works out the current leader on his abacus, and three places read the result: the banner, the gapura's greeting and the loudspeaker. Pick what goes in juara so the abacus works only once per goal, and the loudspeaker speaks only when the leader really changes.
Three devices in the gang listen to signals through createEffect: the night watch's alarm drum, the loudspeaker and the opening lantern. The contest has not opened yet, but Bagas presses Gol for fun. Guess: which lamps and devices change or sound at that moment?
Last night Bagas tidied Mr. Heru's code "to look like React". The board still shows the right number when it is switched on. Switch the evening on and see whether Neighbourhood 02's number still follows the score; if it does not, fix the line that reads the props.
The neighbourhood head announces a new leader: Neighbourhood 03 with 12 points. The banner and the loudspeaker read the name and the points together. Pick what goes in ▢ ganti inside juaraBaru so the banner is written once and the loudspeaker speaks once, never showing a name and points that do not match.
The neighbourhood head's loudspeaker talks too much: it repeats the announcement every time the MC changes or a name is corrected. For each read in the effect, choose whether it is heard or read only, so the loudspeaker speaks only when the score changes, with the latest MC and name.
Mr. Tono ordered a JUARA (leader) banner that goes up as soon as Neighbourhood 02 reaches 10 points, then its number goes up on every later goal. The banner only needs hanging once: pick how to write it so it is not taken down and hung again on every point.
The red and white string of bulbs over the gang is made with <For>. Rara asks for the middle bulb to be yellow. The code needs no change: guess which bulbs will be taken down and new ones hung, rather than just changing colour.
Rara and Ms. Wulan change the colour of two bulbs. This time nobody may climb the ladder: every bulb stays hung and only its colour is written again. Pick how to make the list of bulbs.