A vibrant cartoon landscape with a path leading to a castle, with hot air balloons.
Kids Coding Kit Logo
Core Concept 3: Winning & Losing

Games need rules to know when to end.

How does a game know when it's over? It uses **win and lose conditions**. These are just `IF` statements that check the game's state.

Try to reach 50 points to win! But be careful not to trigger the game over condition.

IF score >= 50 THEN You Win!
IF player.crashed THEN Game Over!

Score

0