THIS IS A WORK-IN-PROGRESS. This project was intentionally programmed to be watch-only. Here are the main problems I'm having: 1.) Sometimes, the pieces (red and blue squares) go off the board (the purple grid) and into the boundary (purple rounded rectangle around the grid). How do I prevent that from happening in the first place (even though I already have detection scripts that SHOULD be counteracting it)? 2a.) I want pieces to disappear if they are moved onto by another piece. How would I program that? 2b.) As an alternative, I'd like pieces to disappear if they are completely surrounded (cannot move north, south, east, or west). How would I program that? 3.) I'd like to be able to save a record of what moves are played by the computer during the game so that I can replay them later. How would I program that? 4.) The project seems unnecessarily complicated. Is there any way to optimize it? 5.) There's gotta be a better way to code detection of legal moves... There's gotta be! Thank you!