A simple Tic-Tac-Toe Engine explained with comments in the scripts. If you want to use it, add the 'Grid' and 'O and X' sprites to your backpack and put them in your project with credit to me, @LutimBoy.
This is a Tic-Tac-Toe engine that is capable of telling the winner too. I made this to use it in my project, ☁Tic-Tac-Toe - Cloud Multiplayer. I am still working on it and I decided to share this as an engine without the cloud variables. Also check out a Tic-Tac-Toe CPU made from this!:- https://scratch.mit.edu/projects/606765550/ Credits to me @LutimBoy for all code. Credits to my best friend @ash28210 for inspiration.