[Solved]Java Connect Four Two Player Board Game Players Alternately Drop Colored Disks Seven Colum Q37170842
IN JAVA
Connect Four is a two-player board game in which the playersalternately drop colored disks into seven-column, six-rowvertically suspended grid
The objective of the game is to connect four same-colored disksin a row, a column, or a diagonal before your opponent can dolikewise. The program prompts two players to drop a red or yellowdisks alternately. Whenever a disk is dropped, the programredisplays the board on the console and determines the status ofthe game (win, draw, or continue)
*Use appropriate exception when user inputs incorrect values(example the column’s index.)
Sample inputs:
Drop a red disk at column (0 – 6): 0
Drop a yellow disk at column (0 – 6): 3
Drop a yellow disk at column (0 – 6): 6
The yellow player won
(use R and Y for yellow and red “pieces”
Expert Answer
Answer to IN JAVA Connect Four is a two-player board game in which the players alternately drop colored disks into seven-column, s… . . .
OR

