CC: JediKnightKrazy's dance prog. remake
print("I will dance now. RUN FOR YOUR LIFE!!!!!")
sleep(2.5)
local r = 0
local moves = {
{char="f",move=turtle.forward},
{char="b",move=turtle.back},
{char="l",move=turtle.turnLeft},
{char="r",move=turtle.turnRight},
{char="u",move=turtle.up},
{char="d",move=turtle.down}
}
while true do
r = math.random(1, #moves)
write(moves[r].char)
moves[r].move()
end
Comments