diff --git a/src/kode/checkmate.cpp b/src/kode/checkmate.cpp index a27ab3173b4636caacd9bb5747b9c9da8079c77f..1583b504e8e561d84755c2c84d492c26db049c34 100644 --- a/src/kode/checkmate.cpp +++ b/src/kode/checkmate.cpp @@ -18,7 +18,7 @@ vector<Tournament *> gTournaments; string menuToPrint; string menuStart = "\nS: Start a new tournament\nQ: Quit the program"; -string menuSetUp = "\nV: View player list\nE: Edit a player\nA: Add player\nD: Delete player\nS: Start a new tournament\nQ: Quit the program"; +string menuSetUp = "\nV: View player list\nE: Edit a player\nA: Add player\nD: Delete player\nF: Start the first round\nS: Start a new tournament\nQ: Quit the program"; string menuDuring = "\nV: View player list\nR: View rankings\nE: Edit a player\nN: Enter results and advance to the next round\nS: Start a new tournament\nQ: Quit the program"; string menuEnd = "\nS: Start a new tournament\nR: View rankings\nV: View player list\nQ: Quit the program"; @@ -80,6 +80,9 @@ int main() case 'Q': cout << endl << "Closing the program"; break; + case 'F': + gTournaments[0]->printTables(); + break; default: cout << endl << "Please enter a valid command."; break;