10 November 2020

Red Square

Treasure Hunt! I am going to demonstrate the RedSquare app today and you are going to make it. I shall leave you some breadcrumbs here.

Here is the initial apperanace of the RedSquare app.

starting appearance for RedSquare app

Here it is after the square has been moved by pressing the arrow keys. Each press in a given direction moves it 5 pixels.

Optional: Make it work for hjkl gamer keys too.

appearance for RedSquare app after arrow key presses