Howdy!
First game here, the most dead-simple Tic-Tac-Toe game I could make.
This is my first time writing Lua, so if anyone would like to give feedback on the code, I'd love to hear it.
I can't see any obviously wrong with the code, but I'm not a lua (or just programming) guru by any means... I don't even really like lua actually. :-/
I would probably use the pico-8 map instead of creating a parallel "grid" array, if I really must find something I would do differently. :)
Hey, thanks for the comment, viza!
The "grid" object (table?) is sort of "paving the cowpaths" because I intend to make it into Ultimate Tic Tac Toe and will want a "virtual" board for the big board.
I might look into doing the win condition checks via the map instead of relying on the grid object though.
Thanks for the feedback!
[Please log in to post a comment]