Game development · Unit 4: Game rules: functions · Lesson 3
Inside the walls

Inside the walls

The player can't walk through walls! The move function makes sure x never leaves the map.

MAZOON Academy: coding and AI for kids