Scenario 1 - Navigation

Operational Goals

  • Ability to create command sequences
  • Ability to navigate (direct) the hero on the board

Introduction to the Topic

Creating sequential code is one of the basic techniques of algorithm design. When we solve a problem in which we can predict all situations that may occur and solve the task in the form of sequentially following program instructions, then the most basic technique is to write down all the actions that must follow each other. This procedure is called creating a sequence of code instructions, in short, creating a sequence. The basic instructions in the code controlling the hero are commands related to the direction of the hero's movement on the board - navigating him.

Task

Command: Arrange the code from blocks, specifying the direction and the number of necessary steps, and lead Kodi to the finish.

Course I, Navigation - Level 0 - Movement in one direction

Course I, Navigation - Level 0 - Board solution

Task

Command: Arrange the code from blocks, specifying the direction and the number of necessary steps, and lead Kodi to the finish. Use the "Push" action to move the boulder that blocks the way. Remember to use the directional action.

Course II, Navigation - Level 2 - Navigation learning repetition

Course II, Navigation - Level 2 - Board solution