Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

a. The main program must besmaller than 10 lines long (not including comments)…t

ID: 3615675 • Letter: A

Question

a.      The main program must besmaller than 10 lines long (not including comments)…thismeans you need to use functions

b.     Make sure to display a welcomemessage describing the rules of the game to the user

c.      Have the players enter in theirnames – so that your messages are user friendly and includetheir names!

d.     If the user enters in an invalidvalue (not a letter a-z or A-Z), then they should be given anotherchance

e.      If a player enters a lowercase, convert it to a capital letter – so that everythingbeing compared is upper case!

f.       Allow the user to playthe game over and over until they are done orfinally win!You decide how many points it will take towin!

g.     Graphics:For Extra credit, display the game board,alphabet, and allow the user to select the pieces using themouse!

h.     Or, on Unix or forMac users: For Extra credit:Allow more than 2 players! You will need to keep track of thescores as an array of scores, in this case.

Explanation / Answer

#include using namespace std;int score[2]={0};int play(int n){char str1[100],str2[100]={'-'};int i,len;char ch;cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote