disclaimer: this wasn't actual ai, and some nerfs and invisible squares had to be made so it would be able to beat it.