Datasheet

This program was created in the Microsoft MakeCode Arcade Blocks Editor (https://arcade.makecode.com).
The game shows Kit The Kitornik Robot as the player. The aim is to move around the screen collecting batteries, with every battery gaining points.
On Start block: First, the background colour is set. Then a player and a food icon are created to display on screen. The Player is in the shape of Kit, and the food is in the
shape of a battery. The move block connects the player icon to the gamepad keys, to allow the player to move the robot around.
Finally a 10 second countdown is started, this limits the length of the game.
On sprite block: This block runs once Kit gets to the battery. It detects that there is an overlap in their positions.
The blocks inside increase the score, for the collection of the battery, and then redraws a new battery to collect at a random place on the screen.
This example can be loaded from https://makecode.com/_7w71T5emyPH0
Note: There are additional tutorials on the MakeCode Arcade home page (link above).
Microsoft MakeCode Arcade Blocks Editor Code
ARCADE for MakeCode Arcade
www.kitronik.co.uk/5311