From 8b7cbd044dc7d0e419cc004006e358ab62def0ca Mon Sep 17 00:00:00 2001 From: TheHresvelgian <sigrunhog@hotmail.com> Date: Thu, 28 Apr 2022 00:33:40 +0200 Subject: [PATCH] bugfixing --- src/kode/checkmate.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/kode/checkmate.cpp b/src/kode/checkmate.cpp index a27ab31..1583b50 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; -- GitLab