Swift playgrounds

In Maker we are learning how to code, so we downloaded Swift playgrounds. It is an app that gives you simple instructions on how to code. In each level you have to issue a set of commands to make the character toggle switches and collect gems. With swift playgrounds they don’t always teach you something new every level.In the first few levels they did teach you something new every level, but as you progress further they teach you something new every five (or more) levels so you can practice what they just taught you.

The first level is very easy as you can tell. All you have to type in is: moveFoward() moveFoward() moveForward() collectGem(). You don’t even really have to type it in! As you can see at the bottom of my picture they already have all the options laid out for you at the bottom which is quite nice because it means that you don’t have to spend a bunch of time writing out all the code. The levels move along quite “swiftly”. Hehe get it, swiftly? They don’t move too fast though which is nice.

Level 21

Level 1

For this level it gives you a hint at the top. It says “figure out how to collect the first gem and see if that works for all the gems”. So I did what it said, and it worked! Just like magic! Maybe it was my amazing coding skills though. How will you ever know? Anyway, here is the finished product.

Finishing level twenty one

After a while our teacher asked us (the class) to write a reflection about our experiences with swift playgrounds. We have written two reflections so far. We usually code for a few days and then write a reflection. Here are my two reflections:

 

Leave a Reply