nozama 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

d20_die_roller_experiment by nozama

Shoes.app :height => 210, :width => 200 do   
  stack :width=> "50" do
  button "d4" do  
  rolladie(4)
end
  button "d6"  do
  rolladie(6)
  end
  button "d8d" do
    rolladie(8)
    end
  button "d10" do
    rolladie(10)
    end
  button "d12" do
  rolladie(12)
  end
  button "d20" do
      rolladie(20)
    end
flow :width=> "50" do 
#die rolling code from enrique on hackety hack
def rolladie(max)
    roll = 1+rand(max)
    para "#{roll}"
  end
  end
  end  
  end