Assignment 1 – Tortoise v. Hare (Appendix)

Creative Story Output

Welcome to the TvH story generator!

This program recreates the famed fable, The Tortoise and the Hare. But this time, YOU get to determine the outcome. Exactly how fast is the tortoise and the hare? How long does the hare nap? Enter the input values below, and your story will automatically be generated.

Your name: Dean Zeller

Hare’s name: Cameron

Tortoise’s name: Stotlemeyer

Race distance (feet): 1000

Hare’s speed (feet/sec): 12.0

Tortoise’s speed (feet/sec): 1.6

Nap start time: 20

Nap duration: 600

Story title: TvH – The Final Battle

Thank you. Here is your story.

------

TvH – The Final Battle

Dean Zeller here, reporting for UNCTV, giving you clever commentary on the Race of the CENTURY! Incoming champion is the hare, Cameron. Looks like he’s coming down the walkway now, looking poised as ever. He should, having won the last seven races. Looking good, Cameron! Got anything to say for the folks at home?

Cameron: Hell, yeah! Afterwards, I’m gonna hang with some pretty funny bunnies! Buggs, Peter, and the Quik rabbit are throwing me a big hee-haw tonite, with tons of carrots!

Okay, Cameron the hare, with words to live by. And here comes the challenger. The doors open, and… what’s this? It’s a freaking turtle? We’ve had gazelle, roadrunners, and even geckos. But a turtle?

Stotlemeyer: Correction – I’m a tortoise. Turtles swim, with fins. Tortoises walk, with claws.

Well, I stand corrected. Speaking of standing, our contestants are standing at the gate. The crowd is watching intently. And…. BANG! They’re off!

Tortoise Hare

Time Position Speed Position Speed Comments

0 0.0 1.6 0.0 12.0

1 1.6 1.6 12.0 12.0

{omitted for space}

624 998.4 1.6 300.0 12.0

625 1000.0 1.6 312.0 12.0 Race over – Tortoise Wins

What an amazing race! Who would’a thunk that the turtle would win?

Stotlemeyer: I’m a TORTOISE! No fins!

Anyway, come back next week for a test of the physics engine on the simulated wolf and three little pigs.