Fixed a bug inside my impossible level
Bug: My AI got stuck on “AI is thinking…”
Cause: I used grid instead of grids.Therefore, JS threw a reference error that grid is not defined and this error was stopping the function.
Fix: I have replaced grid with grids.
Lesson: When something appears stuck or not working as intended then check browser console first.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.