Question: I need this code in C++ not Java. I need a connect 4 game with a player against an AI. Each move gives you or

I need this code in C++ not Java. I need a connect 4 game with a player against an AI. Each move gives you or the AI points that are to be added together : 1 point for moving on an empty spot, 2 points for moving on a spot that connects to your own piece, 50 points if you move on a spot with 2 connecting pieces and an empty space next to them, and 100 points for winning the game. The AI's goal is to block you from winning or to making a move that would give it the most points/win. There also needs to be a hint by inputting "?" that tells you the best move possible. Thank you

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!