Open mgtaboada opened 6 years ago
Can you show me your AI?
An AI should not be able to crash the game, so that's my fault...
Looks like It's because I defined variables outside a function definition. the piece of code looked like
linkedList = {}
function linkedList.new()
--...
end
--...
function ai.init()
--...
I changed it to define variables inside function definitions and now it doesn't crash.
Hello, I have just finished to write my first ai but when I try to start a challenge with its file, I get the follownig error:
I suppose it's my code's fault, but I don't know why