Game development · Unit 4: Game rules: functions · Lesson 2
A rule that answers: return

A rule that answers: return

Some rules give an answer: did the player hit the enemy? How many points is a gem worth? The word return sends the answer back.

MAZOON Academy: coding and AI for kids