Created
July 25, 2008 17:26
-
-
Save anonymous/2479 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# aldershot.rb | |
=begin | |
main file for aldershot mountain. | |
aldershot mountain is/will be a (currently) | |
simple chutes and ladders/snakes and | |
ladder/adders and ladders/moksha patamu/ | |
gyanbazi/leela ripoff. | |
=end | |
Shoes.app(:height => 760, :width => 760) do | |
def tmv(c, x, y) | |
case c | |
when :b | |
stroke goldenrod | |
fill cornflowerblue | |
when :r | |
stroke forestgreen | |
fill tomato | |
end | |
strokewidth 5 | |
oval x, y, 40 | |
end | |
background gradient(darkkhaki, olivedrab) | |
(5..755).step(75) do |x| | |
stroke maroon | |
strokewidth 5 | |
line 5, x, 755, x | |
stroke fuchsia | |
strokewidth 5 | |
line x, 5, x, 755 | |
end | |
tmv :b, 175, 325 | |
tmv :r, 550, 700 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment