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

I need it in C++ programming language ( full answer), using Notepad++, java , Py

ID: 3879166 • Letter: I

Question

I need it in C++ programming language ( full answer), using Notepad++, java ,  Python , please assist me your collaboration is appreciated, * No Global Variable and GOTO statements*

*Instructions:

You can use these to display the card symbols:

cout << char(3) << endl << endl;

cout << char(4) << endl << endl;

cout << char(5) << endl << endl;

cout << char(6) << endl << endl;

cout << char(6) << endl << endl;

*Guideline:

REMEMBER JAQK Introduction Technologies nowadays have really become part of people's lives. People are heavily relying on technologies like Google Search for information, Google Map for locations and directions, and Facebook for social networking. With these technologies, people can afford not to remember the information they have read, the locations of places they have been before, or even the birthdays of their friends and relatives, because these information can be obtained or retrieved thanks to these technologies. William, a health minister of a new country Machindia, is very worried that such heavy reliance on technology might have negative impact on the health of brain memory. He is concemed that people especially the new generation are using too little of their brain memory, causing the memory cells to deteriorate over time. As people grow old, they might develop neurological disorders that would affect their daily activities. Having an increasing population suffering from neurological disorders is a big issue to his country. To prevent such alarming issue, William proposes Remember JAQK, a two-player tun-based card game to encourage people to exercise their brain memory in an entertaining way. This game aims to improve the players' memory, observation, and concentration. He is looking for an aspiring programmer to develop this game in C++. Mission You are to develop Remember JAQK game using C+based on Problem Dscription and Program Requirements below.

Explanation / Answer

Answer: See the code below:

------------------------------------------------

#include <iostream>
#include <cstdlib>

using namespace std;

//displays first screen
void displayFirstScreen(string name, string id) {
   cout << "+------------------+" << endl;
   cout << "| " << name << "   |" << endl;
   cout << "| " << id << "      |" << endl;
   cout << "+------------------+" << endl;

   system("pause");
   //system("CLS");
}

//shows a face down card
void showCardFaceDown(int card)
{
   cout << "+---+ "<<endl;
   if(card >=1 && card <=8)
       cout << "| " << card << "| "<<endl;
   else if(card >=9 && card <=16)
       cout << "| " << card << "| " <<endl;
   cout << "|   | " <<endl;
   cout << "+---+ "<<endl;
}

//shows card layout
void showCardLayout()
{
   int i = 0;

       cout << "+---+ " << "+---+ " << "+---+ " << "+---+ " << "+---+ " << "+---+ "
                   << "+---+ " << "+---+ " << endl;
       cout << "| " << (i + 1) << "| " << "| " << (i + 2) << "| " << "| "
               << (i + 3) << "| " << "| " << (i + 4) << "| " << "| " << (i + 5)
               << "| " << "| " << (i + 6) << "| " << "| " << (i + 7) << "| "
               << "| " << (i + 8) << "| " << endl;
       cout << "|   | " << "|   | " << "|   | " << "|   | " << "|   | " << "|   | "
               << "|   | " << "|   | " << endl;
       cout << "|   | " << "|   | " << "|   | " << "|   | " << "|   | " << "|   | "
               << "|   | " << "|   | " << endl;
       cout << "+---+ " << "+---+ " << "+---+ " << "+---+ " << "+---+ " << "+---+ "
               << "+---+ " << "+---+ " << endl;

       cout << endl;
       cout << "+---+ " << "+---+ " << "+---+ " << "+---+ " << "+---+ " << "+---+ "
               << "+---+ " << "+---+ " << endl;
       cout << "| " << (i + 9) << "| " << "| " << (i + 10) << "| " << "| "
               << (i + 11) << "| " << "| " << (i + 12) << "| " << "| " << (i + 13)
               << "| " << "| " << (i + 14) << "| " << "| " << (i + 15) << "| "
               << "| " << (i + 16) << "| " << endl;
       cout << "|   | " << "|   | " << "|   | " << "|   | " << "|   | " << "|   | "
               << "|   | " << "|   | " << endl;
       cout << "|   | " << "|   | " << "|   | " << "|   | " << "|   | " << "|   | "
               << "|   | " << "|   | " << endl;
       cout << "+---+ " << "+---+ " << "+---+ " << "+---+ " << "+---+ " << "+---+ "
               << "+---+ " << "+---+ " << endl;

}

//shows card faceup
void showCardFaceUp(char rank, char suit)
{
   cout << "+---+"<<endl;
   cout << "|" << rank << " |"<<endl;
   cout << "| " << (char)suit << " |" <<endl;
   cout << "| "<<rank<<"|" <<endl;
   cout << "+---+"<<endl;
}
//shows game interface
void showGameInterface(int points1, int points2) {
   cout << "...:: Remember JAQK ::..." << endl;
   showCardLayout();
   /*for(int i=1;i<=2;i++)
   {
       for(int j=1;j<=8;j++)
       {
           showCardFaceDown(i*j);
       }
   }*/
   cout << "Player 1 -> " << points1 << " : " << points2 << " <- Player2"
                   << endl;
}

//shows input prompt
void showInputPrompt(int player, int card)
{
   cout<<"Player "<<player<<endl;
   cout<<"======="<<endl;
   string card_string;
   if (card==1)
   {
       card_string="FIRST";
   }
   else if(card==2)
   {
       card_string="SECOND";
   }
   cout<<"Enter your "<<card_string<<" card number to flip (1 to 16)"<<endl;
}

int main() {
   string name = "Frank Carrano";
   string id = "1112223344";
   int players[2] = {1,2};
   int cards[2] = {1,2};
   int player_points[] = {0,0};
   //char ranks[4] = {'J','A','Q','K'};
   //char suits[4] = {3,4,5,6};
   displayFirstScreen(name, id);
   showGameInterface(player_points[0], player_points[1]);
   showInputPrompt(players[0],cards[0]);
   return 0;
}

---------------------------------------