Posts Tagged ‘swift playgrounds’

Computer tech – Final blog post

For computer tech, our last project was to make a game design on Scratch. I chose to make the pong game. One of the hardest parts was adding the score. I tried it multiple times, but still nothing was working. Eventually, I realized I had to put the score variable in a specific “forever” bracket in order for it to work. I am very proud of this game. One thing I am very proud about is that I was able to add many components to make this game even more advanced. For example, I added a score and timer. If I had more time, I would add more levels. In each level, the ball would bounce much faster. 

    I also played someone else’s game. Their game was a maze. I decided to play this one because it was not the game I decided to make. One thing I liked about the game was how the sprites were not the original ones you would use for a maze. The person made their sprite a donut, which I thought was pretty cool. One thing I learned from the game is that you can draw your own background. I knew we could use shapes to make it, but never knew that you could hand draw it. Overall, it was an amazing game!

    Like I said, this is the last project for computer tech, and the school year is almost done. Overall, I loved this class. It opened me to a whole new world of coding I never knew before. My favorite project was Swift Playgrounds: “Learn to Code”. I liked this because it taught me the fundamentals of coding, but did it in a fun and engaging way. I think one thing that worked well doing computer tech at home was that we had easy access to the basic materials we needed. I only needed my school iPad for this quarter. One thing that was a little hard was not being able to see the teacher in person and not being at the classroom. This is because it is easier to learn in the classroom than online, and there are more materials to help us there. However, I still think e-learning was fine.

    Overall, computer tech has been amazing! I have learned so many things that I will not forget, and it helped me grow tremendously as a coder!

Learn to code 1 #2- challenges

For computer tech, we have been working on scratch, more specifically “Learn to Code 1”. One of the most challenging parts was the Logical Operators. I found that this was rad because there were many parts to figuring out the code. You had to look over it many times before deciding what to code. The hardest part was “Using this AND that”. This was hard for me because I wasn’t sure at times which o to use, and sometimes I thought there wasn’t an answer. Also, in order to make sure you got the code correct, they would move the map around so you’re not just using the regular code, and making sure you are using the right code. Even though this was frustrating, it did help me become a better coder!

Learn to code: command section

For computer tech we have started to use swift playgrounds. One of the tasks I had to complete was to find bugs in the code and fix it. 

 These are the steps I had to complete, as well as the path byte was going to take:

 

There were many bugs I had to fix. I had to make sure that it went the right directions, and made sure to collect any gems or toggle any switches. To fix the bugs, I had not first watched it, and looked over the code. I had to rearrange a bunch of steps to make sure it worked. Even though it was hard at some places, I mad we sure to no give up and keep on going!