Thursday, June 13, 2013

Killer Turtle

Mostly working program, might still have kinks:

n = 0
-- Clearing Terminal
term.clear()
term.setCursorPos(1,1)
print("DIE!!!!")
while true do
    turtle.attack()
turtle.attack()
turtle.attack()
n = n + 1
if n == 16 then
for i = 1, 16 do
turtle.select(i)
turtle.drop()
end
n = 0
end
    sleep(0.5)
end

No comments:

Post a Comment