Develop a C program that will simulate the Connect Four game. The game should have two modes: player verses player…

Develop a C program that will simulate the Connect Four game. The game should have two modes: player verses player…

Develop a C program that will simulate the Connect Four game. The game should have two modes: player verses player and player verses computer. In the case of player verses computer, there should be three levels of difficulty: easy, intermediate and hard. In the easy level, the computer should just randomly pick places to drop the disc randomly. For the case of intermediate, the computer should attempt to block all horizontal and vertical attempts for victory. The hard level should make the computer defend vertical, horizontal and diagonally paths to victory, while aggressively trying to win the game. By playing offense, the computer should attempt to aggressively win the game. Connect four is a two player game in which players take turns dropping alternating colored disc (red and black) into a six row by seven column vertically suspended grid. The object of the game is to connect four single colored discs in a row vertically, horizontally or diagonally. The Connect four grid should be displayed with “x” and “o” being used in place of the red and black disc. The grid display should be redrawn after each player takes a turn and should the current state of the game. Once, the game is over. The program should output who won the game or output that the game resulted in a tie. Must use standard C libs, compile in Microsoft Visual Studio.

"Is this question part of your assignment? We can help"

ORDER NOW