Turtle Race

Here is my repl.it link: repl.it

My latest CSAI project was to make a turtle race – using turtle art. I learned how to use goto() functions better and use more complicated random operations. I am most proud of how smooth the racing/random forward and backward movement looks. At the end of my race, I had the turtle that won do a little spin, and say something random. I made a random list of nouns and verbs, and using random.choice(), I picked random things from those lists and printed out something like “Turtle 1 says ___” or something. If I were to keep working on it, I’d probably make it look a little nicer. It’s just turtles drawing lines right now.

Leave a Reply

Your email address will not be published. Required fields are marked *

Skip to toolbar