tessa 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

fortune_2 by tessa

fortune = ask "Would you like to know your fortune?"
if fortune == "yes"
alert "Great - lets get started!"
elsif fortune == "no"
alert "Too bad - maybe next time!"
else 
alert "You must have input something wrong, please use yes or no."
end

number = ask "Please pick a number between 1 and 3"
colour = ask "Please pick a colour, green, blue or yellow."
if number == "1" and colour == "green"
alert "You will have much joy in your life!"
elsif number == "1" and colour == "blue"
alert "You will enjoy a vacation in the near future - lucky you!"
elsif number == "1" and colour == "yellow"
alert "You will be happy and full of cheer in your life!"
elsif number == "2" and colour == "green"
alert "You care for the environment and this will make your life beautiful!"
elsif number == "2" and colour == "blue"
alert "You will live by the ocean in the future - enjoy the beach baby!"
elsif number == "2" and colour == "yellow"
alert "Your joy shines down on all in your life and this will make your life full of love and sunshine!"
elsif number == "3" and colour == "green"
alert "You will enjoy riches in friends and money!"
elsif number == "3" and colour == "blue"
alert "Your money will bring you fun and good people in your life!"
elsif number == "3" and colour == "yellow"
alert "Your riches will be in a rewarding job and family and friends - and some cash too!"
else
alert "You must have input something wrong - please try again!"
end