Files
ascii/game.lua
2021-12-07 12:44:15 +01:00

17 lines
359 B
Lua

function init()
setmode(0)
end
function update()
cls()
locate(0,0)
if mousebutton(1) then
print("Has pulsat el boto esquerre")
elseif mousebutton(2) then
print("Has pulsat el boto del mig")
elseif mousebutton(3) then
print("Has pulsat el boto dret")
else
print("No has pulsat cap boto")
end
end