Java Assignment
Lab 11
Implement a Connect4 game. You must use Swing for this lab. All feedback should use JOptionPane, no Scanner input/output allowed. Players should make moves by clicking on the column they wish to choose. They should be able to click anywhere on the column to make a move, do not restrict them to the appropriate row or to a button. The board should display moves as red and black circles, with a different color background. It should resemble as much as possible a real game, including having defined partitions between each piece. There is no need to simulate the dropping of the piece, although you are certainly welcome to attempt it. When the game is over, the user should be asked with a dialog box whether they want to replay or not, and should be able to play as many times as they wish.