Guess the Holiday Song

So, we had an assignment to make something holiday related. At first I wanted to do like a guess the song from the lyrics, but I decided it was too much work.

In the first version of the code, I had a box and put things inside the box. I had it all figured out. Then I had a problem getting it to repeat. I something where, after you answer the question, there would be an option that was along the lines of, “click [insert letter] to end and any other key to start over.” One of the problems was getting the code to actually stop going. The other problem was that the box was being drawn in the wrong space when I wanted to do it a second time. For the first problem, I asked Mr.Dembo, who helped me out. So the problem is solved. I eventually just took away the box and just wrote the clue to the song in an empty space. I basically had to change all the coordinates for the gotos because, originally, they were all supposed to be inside the box. I also had the letter, B, written but I was too lazy to fix it, so I just took it out. Below is the new and improved (working!) code. (Snippets of it)

Here is the link to my repl.it if you want to try and play (don’t cheat): https://repl.it/join/jnjarzpu-ashleyqiu

Below is a sample image of what happens in the game.

Part of the game

Turtle Maze Challenge (feat. Aria again)

Code

Our goal was to beat the maze. Aria helped me a little bit by giving me hints and stuff, but this was what I came up with. It really didn’t work. The first part I almost figured out, but that doesn’t mean it works. I tried starting on the last part which was probably a bad idea.

So, yeah basically that didn’t work out so well. Cheers.

Roll the Dice (feat. Aria from 7-2)

This creation worked thanks to Aria. (Thank you very much)

The thing we created.

I wanted to create something where you can “roll” a dice and it gives me a number. I had the basic idea and Aria helped with the code for the harder parts I didn’t know how to do.

You can access it here: https://repl.it/join/ziiwslkd-ashleyqiu

Here is a snippet of my super long code.

The first thing we tackled was the random integer and what it does. First I put the outline of the dice which is a square. In the code you can see the first two ifs of many many more. If the random integer is one then it put one dot in the middle like a normal dice. It goes all the way to 6. At the bottom (which you can’t see) there’s another if statement. If a is pressed the code stops and it any other key is pressed, than it keeps going. In the beginning you can see that if r is pressed, the dice is “rolled.”

We didn’t have many problems, just a couple minor errors. I learned about conditional statements, random integers, true’s and false’s, and holders.

Challenge

Challenge results.

In CSAI class, we had to create this thing. (Look at above.) This thing is actually made up of only straight lines. You can see my project here: https://repl.it/join/abgavmcq-ashleyqiu

I used variables and repeat blocks to make this work. The variables had to be reset for each quadrant. Once I figured out the pattern, it went pretty smoothly. It took me a while to figure out that I needed to change the variables. (oops.)

Here is a snippet of my code

This project was a lot of fun.

Turtle Race Project

My turtles racing

For this project, I had 5 turtles. 4 of them were the racers, and 1 of them made the start and finish line. The green is hello, the blue is testing, the black is Wasup, and the red one is welp. This race is not rigged. You can access it here: https://repl.it/join/yainwerf-ashleyqiu

My code is really long so I’ll just tell you what I did. I named the turtles first and had one of them draw the start and finish line. Next, I used the goto command to have them start at the starting point. Since I wanted the winner to do a little victory spin and be pronounced the winner, I used conditionals so I didn’t rig the race. After the winner does a little victory spin, the other turtles join the winner at the finish line because races end when everybody is back.

This is a snippet of my code.

Interactive Artworks

The first one is where you can draw on the screen. All you have to do is press down the mouse button and drag it across the screen. I was trying to figure out how to make it change colors when a box was pressed.

Some random drawing I did and my code. It’s a very simple looking code, but it was weird to figure out. I learned something though, so that was nice.

Here is the link: https://turtle.sugarlabs.org/index.html?id=1602856108915675&run=True

You can draw whatever you want I guess. Just don’t change to code, thanks. 🙂

My second one is where you can randomly press anywhere on the screen, and based on where you clicked there would be some differences. The shape, color, and border size are all kind of different.

Image of the thing

The code was really long for some stuff. Some of the longer code got code off so yeah.

Here is the code. Yes, it’s long. I got it ok?

It was hard to figure out how to change the shapes. I was hoping to get it to change shapes on the diagonal. That didn’t work out so much. I was also hoping to get three shapes. But, I only ended up with two. The color and pensize went pretty smoothly. It was a loooooong code.

Here is the link: https://turtle.sugarlabs.org/index.html?id=1602252999129598&run=True

Once again, feel free to randomly click. Remember, don’t change the code, thanks. 🙂

Inspired Artwork

My final inspired artwork project

The designs I took inspiration from were Genie and Flower from Book 1. The background was from Genie, and the upside-down crosses were from Flower.

It took a while to figure out the background because I kept messing up the boxes and the equations. I learned how to use and understand the boxes and equations blocks better through this assignment. I also used more of the random blocks than I have before.

It starts with the “ocean,” and then it moves to the “things in the ocean.” They are either upside-down crosses or really weird addition symbols. I kept them like that because I liked it that way. I don’t really know why I did it.

Name Art

This is my Name Art project.

I wrote my name first and then I went back to add decorations onto my name. On top of the A, I put a crown. On the curved part of the h, I put a person waving. And lastly, I made the y a cocktail sort of thing. (It’s just art. Not meant to be inappropriate…)

The hardest things to do was probable the s and the e. Both of them are super weird and it took me a while to figure out but I got it eventually. Another thing that was hard was getting the decorations in the right spot.

I combined the first and last three letters of my name together into action blocks. I changed colors and pen size for my name. I put all the decoration into an action block as well. I had it change color and pen size for every decoration.

I learned how to use the arcs to create round letters and how to use stuff with the pen. If I had a little more time I might have added more stuff like, have my name change color, make a shape out of my name, and add more decorations to make the name more creative.

Tiny Neighborhood

Houses Project

This is my houses project and I made it on turtle art. I’m really proud of my work.

I learned how to use the action blocks to keep my code more organized and this project took me an hour to figure out. I spent a bit of time trying to get everything right. I had to get the roof in line with the front of the house and then I had to figure out the windows which took a really long time. The problem I had was getting the turtle to turn the right way and getting the windows to be in line with each other. The door wasn’t too hard to figure out once I had the windows finished. After I finished one house I decided to make another one and have them change colors. That one wasn’t hard to figure out either.

About Me

I am a Quest 7th grader and this is currently my eighth year at Quest. I love to listen to music. Music helps calm me down. I like to listen to BTS and really sad and depressing music. 🙂

I love to read fiction and fantasy stories. I love reading because it relaxes me and helps me escape from our boring sad human world. Some books that I would recommend are the Shadowhunters Chronicles by Cassandra Clare, Shadow of the Fox series by Julie Kagawa, and Folk of the Air series by Holly Black.

I am an ice skater and I have been skating for around 7 years. I skate at Twin Rinks in Buffalo Grove. My favorite skaters are Yuzuru Hanyu and Bradie Tennell. I am part of the Starlights Synchronized Skating Team and this is my 5th year on it.

Yuzuru Hanyu