Turtle Maze in Python Turtle

In CSAI we had a challenge to get a turtle through a randomized maze. This was challenging as I had a lot of trouble getting past the first set of walls.

Then I decided to get hitting the left wall of the maze in order to get through.

This was allowed as the only thing we were not allowed to do was go through the walls. This worked and allowed me to complete the maze challenge. Below is what it looked like when the maze is completed.

I also added my own celebration message when the turtle get through.

Python Turtle Winter Artwork

For CSAI my class and I had to create a Winter Themed scene using Python Turtle. Originally I wanted to do New Years in Times Square with fireworks and a countdown clock. Then I realized that it would to difficult to complete with the time we had so instead I decided to make a snow globe with a Santa hat inside.

I began by adding a large light blue circle in the middle so show where the glass on the snow globe is.

Then I began the outline of the hat. This is were I had a lot of trouble. I only knew how make the outline of the hat but Mr. Dembo helped me and showed me how to do the fill command.

Then I added the white things at the bottom of his hat by using circles and the fill command.

Then I simply did the same and added a single circle to the top of his hat.

And finally I added the pedestal using the fill command.

Turtle Races in Python Turtle by Billy

In CSAI class we were assigned to make a random turtle race in Repl.it‘s Python Turtle. This was not an incredibly difficult assignment since our teacher helped us a lot along the way but, I did have trouble on some things. The thing I really had trouble on was making a command so that when any of my 5 turtles (named Tim, Bob, Joe, Stan, and Jill) passed the finish line the code would stop and it would say *insert turtle name* wins on the screen but after a little help from Mr. Dembo on the order of my code (and a Google search about how to write text) and I figured it out.

These are the turtles lining up the the start line.

And off they go! Joe the Green Turtle has a small lead with Tim the Blue Turtle in second

And Joe wins the race this time but who knows, many next time Tim or Jill might win.

Turtle Art Inspired Artwork

I made my Inspired Artwork of something called Nymphea from the Turtle Art Book 2. I used an 8-pointed star instead of the thing that was used in Nymphea. I also had 8 of these 8-pointed stars instead of the 6 of what was used in Nymphea. The final result is below.

And here is the code I used

This was a very difficult code to make. I had to change my original idea multiple times and I even changed what I was basing the code off of many times. I also had to remake the code from scratch when my old code got deleted. the positioning of the 8-pointed stars also made this code quite difficult. If I had to change one thing about the code I would want to use Boxes blocks if possible. I tried to use Boxes blocks but I did not know how and I hope to learn soon, since I am guessing it will speed up and simplify the code.

All About Billy

Hello! My name is William C. Meinhardt IV or Billy for short, I am 12 years old. I am a 7th-grade student at Quest Academy in Palatine, Illinois. Outside of school, I am in my school’s debate after-school class and I am on my school’s Scholastic Bowl team. My hobbies include reading, playing Dungeons and Dragons, playing the Alto Saxophone, and occasionally playing Minecraft. I like playing Dungeons and Dragons, also known as D&D because it lets me imagine and live in a fantasy world as the character I play. I can control every action and decision my character makes which is very fun. I started playing the Alto Saxophone in 3rd grade and I love it because I can learn music from multiple different genres and cultures from around the world. I like to play Minecraft for the same reasons I like playing D&D since I can play a character in a cubic world where I can do anything I want in an open, endless, and fun world. My favorite group of movies is the Lord of the Rings trilogy specifically the Fellowship of the Ring. While I do not have a favorite book, one of my favorite books is The Hobbit by J.R.R. Tolkien since he is a good author. He builds his creations in a way that shows his incredible world-building and character development skills to make you feel as if you are in the world.

Turtle Art Name Project

My name is Billy and I made my name in Turtle Art for my CSAI class. We had to use arc and action blocks to write out our name. This is the code I used to write my name.

Goes between the beginning of the code and B

Goes between B and I
Goes between I and L1
Goes between L1 and L2
Goes between L2 and Y
This is the finished code

This code was not that challenging once I got farther into the code. The biggest challenge was to change the code to action blocks since I did not know how to use them or what they did, but I eventually understood and now I know what they do. After the action block bump in the road, the most difficult part of coding was either the Y or B, because with the Y code I had to use a lot of set heading blocks to make it. With the B code, I had to use arc blocks for the first time.

Skip to toolbar