======================================================
manzana = "*"
personaje = "p"
enemigo = "E"
map = " p _ _ _ * _ _ _
* _ _ _ _ _ _ _
_ _ _ _ _ _ _ E"
======================================================
function comer(alimento, cantidad)
comer = backspace(automatic)(objet)
======================================================
p1(poscicion+1) == "direction keys(right)"
p1(poscicion-1) == "direction keys(left)"
p1(poscicion/1) == "direction keys(below)"
p1(poscicionx1) == "direction keys(above)"
======================================================
while true do
E == directions(right,left,below,above)
random(file(3))
======================================================
vida(p) = 100
when,happens(p + E) =
vida(p) = 80
yea,happens(5)
vida(p) = 0
happens(backspace(automatic))
======================================================
poder == "E"
poder = -50
E(vida = 100) + poder = E(vida = 50)
later
E(vida = 50) + poder = E(vida = 0)
when,happens(vida = 0)
(backspace(automatic(E)))
To embed this project on your website, copy the following code and paste it into your website's HTML: