Connect Four
-
Demo
- Source
-
Details
I made this game for a course project during my second semester at McGill. It is a simple connect-four game played via the command line against a CPU. I made it in Java using OOP. A cool feature about this game is that the CPU checks two moves ahead to see if it has a winning sequence, otherwise, its move is a deterministic function based on the previous move. This feature made the game surprisingly difficult to beat on the first few attempts, and it was a weird feeling struggling to beat a game that I created.