Learning to code
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
Manage Consents
Control which external services can process your data.
Essential Required
These features are essential for the proper functioning of the website and cannot be disabled.
Anonymous Analytics Required
Required for collecting aggregated statistics that help us understand how users interact with our site. Data is fully anonymous, contains no personal information, and we do not use cookies.
Extended Analytics
Allows analyzing traffic sources (where you came from), marketing campaign parameters (UTM), and navigation paths across subdomains. We use a cookie (7 days) to preserve this data.
External Media
Allows loading content from external services like YouTube or Vimeo.