A controller and AI code for a 6x7 connect4 game