Yossi has released iiii v2.0. Now with shiny new AI.
The game is a digital clone of the popular retail and pen-and-paper game "Connect 4". It is similar to Tic-Tac-Toe. The rules are simple. You take turns with another player to drop red or black pieces into the board. Pieces fall in from the top and slide down to stack up on top of each other. The goal is to get 4 of your pieces touching in a straight line (diagonals also count) before your opponent does.
v2.0
added AI by Keith Pomakis
rewrote win() to be smarter (pointless now that I found that AI, but it was a lot of work so I'm adding it here anyway)
wiimote can be held sideways (push two (2) to drop)
misc. cleanup