Continuing my work with Java, recently, I developed an unbeatable Tic Tac Toe game in Java.
While you can find many such programs online, I think that I’m the only person to create the kinds of algorithms I have.
Coming from a database background, I implemented a number of database like structures in memory. An array list of remaining cells. A Decision Table. And a lookup table for intersections of runs.
Here’s how I did it.
Many Event Handlers: