Hi, i am building a simple minsweeper and i want the squares to in some way react on clicks. But the squares (tile.go) does not react on any sort of input.
The on_input code is this:
`
function on_message(self, message_id, message, sender)
print(action_id)
if message_id == hash(“click”) then
pprint(“Click”)
if ismine == 1 then
pprint(“Explode”)
go.animate(“Explode”)
end
end
end`