Question: In java please create a 2 player connect four game using inputMismatch (when something other than an integer is unputted) and arrayIndexOutOfBound Exceptions (when something


In java please create a 2 player connect four game using inputMismatch (when something other than an integer is unputted) and arrayIndexOutOfBound Exceptions (when something other than 0-6 is inputted by user, with a game board being displayed to the console.
Connect Four is a two-player board game in which the players alternately drop colored disks into seven-column, six-row vertically suspended grid as shown below: before your opponent can do likewise. The program prompts two players to drop a red or yellow disks alternately. Whenever a disk is dropped, the program redisplays the board on the console and determines the status of the game (win, draw, or continue). Here is a sample run: Drop a red disk at column (0 -6):0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
