My learning objective today is to give precises and clear instructions to the computer to design a maze or a game. An algorithm is giving precise instructions to a computer. The aim of the game we were playing which was called Kodable and we had to get through five levels as a tutorial to get to know how to use it. Once the five levels were completed we went on to create our own maze. I have created a maze as seen on the left. The goal of my maze is to collect all of the stars and get to the finish.
I now played a game called Code Combat and in that game we used JavaScript. JavaScript that is very precise and you have to put in code like hero move down (1); and if the code wasn't 100% correct you would have to figure out what was wrong with it. I went through multiple different levels and the progressively got harder and harder. The main goal was to get all the gems and beat all of the enemies if there were any on that level. On one of the levels we had to place fences using X and Y coordinates.
I'm learning to design and project using visual programming. I will have three choices to design a project using the drag and drop program; Sphero RVR, Microbits or the Sprite lab. We have got a chance to try out the Sphero RVR and then after that Blake and I created our first code first we draged and drop in a delay for 1 second and then placed a loop block for 5 times then we placed a block that would change the colour of the leds to green then we added a block to make the RVR roll at 79 speed for 1s then after that we put a delay to end the code.
Today I will be working on Microbit. On Microbit I will be using a drag and drop program to setup and make a tune.
The aim is to use the input button on the Microbit.
I have been using two programs using drag and drop code. I first used the Sphero Rover. I was able to drive the Rover with and I-pad. With the rover I made it sense different colours. The second project I did was microbit and made a tune called I love you from the barney show. The code for that song was quite long.