Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write in C code Write a program that will allow the user to play a simplified version of Connect 4 . You can find an
Write in C code
Write a program that will allow the user to play a simplified version of Connect 4 . You can find an overview of the official rules here Game Play - A menu should be displayed which provides the user some options. The user may play a game, load an existing game (from a file), or exit the program. If the user chooses to play the game, they should first be prompted to enter their name and their opponent's name. Those names will be used during game play. The players are then informed which pieces represent them. - Each player should take turns making their moves until the game is won or ends in a tie. Then the user should be taken back to the menu. - A player should be alloweed to quit and save in the middle of a game. That will be the game loaded the next time the user chooses that option. Requirements - A minimum of 5 functions must be included (I recommended more!) (10\%) Add a scoring feature which - keeps track of the top 10 players and their scores, in order - a player's "score" is determined by how many games in a row they have won - (each player will have a score after multiple games in row - any player's score should be saved (in the correct order) when they quit if it's within the top 10 - if there's already 10 scores, the lowest score is "deletedStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started