Category Archives: coding

My Apple Course

The week before my birthday I went to Apple Camp for a 3 day course on how to use a Sphero. A Sphero (pronounced sfeero) is a robot that can come as Star Wars droids, spiderman, and as a SPRK or SPRK+. I was using the SPRK+ at Apple; it’s the best and has more functions than some of the others. You control the robot using the Sphero Edu app, which allows you to draw a path that represents Javascript, you can use blocks that represent Javascript or you can write in JavaScript. I was using the blocks to make the robot move change LED colors and make sounds.

Day 1

On day 1,  I made code to create a square.

square code

This is the video of what I learnt at apple camp with a Sphero that I got for my birthday.

Then I shortened the code using loops.

square in a loop

Then again using functions.

Square shortened into a function

At the end of the session I created a program that could run a square, triangle, octagon and hexagon in a row.

square, triangle, octagon, hexagon

                                        Day 2

On day 2, I created a game where you had to throw Sphero faster than 3 g’s (g – force) else you’re out of the game.


this is my throwing program

                                        Day 3

On the last day, I made a story of how Sphero goes outside for a spot of gardening and he hears a football match beginning. He doesn’t know what it is, so he is scared and goes inside; later his friend tells  him what it was and he isn’t scared anymore.


Then I got a certificate for creating an amazing project at Apple Camp.

my certificate

Also, On the first day I got an Apple T-shirt.