Stuck in learning
Posted: Mon Sep 19, 2022 4:04 am
Good day. Im trying to understand the Love2d and Lua. And when i wrote simple game tic tac toe, it is stop working, when i try to add menu and rework program. It is incomplite, i know, but my problem is function drawCell is just stop working and i don't understand why. Can someone explain, what exactly can call this error?
main.lua:236: attempt to perform arithmetic on local 'cell_state' (a table value)
main.lua:236: attempt to perform arithmetic on local 'cell_state' (a table value)