walshie4
and many others are using
Hackety Hack
to learn how to code.
Hackety Hack is a free program for Windows, Mac OS X and Linux that can teach you how to make games, applications and more and share those programs with your friends. You can ask other budding programmers questions and follow them to see what code they're working on through the Hackety Hack website.
Sign up
Learn More
name = ask "what is your name?"
alert "Hello, " + name + ". Today I will be telling you a story"
animal = ask "Please choose an animal"
alert "Once upon a time our friendly, " + animal + " named....oh what was his name?"
aniname = ask "What was his name again?"
alert "oh yes, his name was, " + aniname + " of course how could i forget."
place = ask "Where is he? say At the..."
alert "ok so we have a " + animal + ", named " + aniname + ", and is " + place + "."
friend = ask "What is his friend's name?"
alert "ok so let's recap. We have " + aniname + " the, " + animal + ", and the friend, " + friend + " and they are both " + place
alert "one day " + aniname + " and, " + friend + " were hanging out. They were really bored and so " + friend + " asked if " + aniname + " wanted to play a game."
alert aniname + "responded saying, 'yes'"
alert friend + " asked 'ok im thinking of a number between 1 and ten thousand what is it?'"
guess = ask "What do you think the number is?"
if guess == 2345
alert "WOW! NICE GUESSING SKILLZ"
else alert "ehh it doesnt matter, said " + aniname + ". I have a better idea. Riddles!."
end
alert "Riddle #1"
rid1 = ask "Whats black and white, and red all over?"
if rid1 == "penguin thats been mauled by a bear"
alert "ok....really? you know the answers to this story gtfo!"
else alert "haha no but good guess"
end
alert "the correct answer was a baby penguin that has been mauled by a bear"
alert "looks like this...."
Turtle.draw do
background black
pencolor white
turnright 45
forward 30
turnleft 135
forward 50
end