Warning - today's post is waaay more geeky than usual.
If you're not comfortable with fundamental-level programming concepts, best skip this one..
OK, I've rabbited on loads about Graphjam of late, but one more time.. Found a charming
flow chart diagram for the Hokey Cokey, and it struck me the dance is essentially a series of FOR (or DO or WHILE
(
Read more... )
Comments 3
I will actually start a fund for this if you ever decide to go ahead ;)
I remember at Triskele practice once doing the Hokey Cokey cos Carla and Rui (Portuguese) had never heard of it. The sight of about 15 rapper dancers enthusiastically doing the Hokey Cokey (without swords, I may add), is one that will stay with me for a while...
Need to check out the German version when I have speakers!
Reply
But it has a bit your code doesn't (and which doesn't appear in the American version "Hokey Pokey")
Knees bent, Arms ??? Rah Rah Rah?
Wikipedia says: Arms Stretched.
Reply
And since you've caught me on a dull day in the office, here's how I would have structured it:
Dim body_part
Dim body(4)
body(0)="left arm"
body(1)="right arm"
body(2)="left leg"
body(3)="right leg"
body(4)="whole self"
function header()
response.write("The Hokey Cokey!")
response.write("The Hokey Cokey
")
end function
function verse(item)
response.write("
")
response.write("You put your " & item & " in,
")
response.write("You put your " & item & " out,
")
response.write("In, out, in, out
")
response.write("Shake it all about.
")
response.write("You do the hokey cokey and you turn around,
")
response.write("That's what it's all about.")
response.write("
")
end function
function chorus()
Dim woah
response.write("
")
for woah = 0 to 2
response.write("Woah, hokey cokey cokey,
")
next
response.write("Knees bent, arms stretched, ra ra ra!")
response.write("
end function ( ... )
Reply
Leave a comment