From 2135e828516ae2e4a718fc10cdc55584143d11e7 Mon Sep 17 00:00:00 2001 From: ro18 Date: Thu, 30 Nov 2023 17:26:50 -0500 Subject: [PATCH 1/2] final demo changes --- spring-shell.log | 133 +++ .../app/warzone/Commands/PlayerCommands.java | 28 +- .../app/warzone/Features/PlayerFeatures.java | 2 + .../app/warzone/Model/AggressiveStrategy.java | 2 +- .../app/warzone/Model/BenevolentStrategy.java | 15 +- .../app/warzone/Model/CheaterStrategy.java | 2 +- .../project/app/warzone/Model/GameEngine.java | 44 +- .../app/warzone/Model/RandomStrategy.java | 54 +- .../Tournament/tournament_Montreal_1.log | 623 ++++++++++++++ .../Tournament/tournament_Montreal_2.log | 568 +++++++++++++ .../Tournament/tournament_Montreal_3.log | 758 ++++++++++++++++++ .../Tournament/tournament_europe_1.log | 128 +++ .../Tournament/tournament_europe_2.log | 128 +++ .../Tournament/tournament_europe_3.log | 183 +++++ .../warzone/Utilities/SavedGames/roch1.log | 16 + .../warzone/Utilities/SavedGames/roch2.log | 14 + .../warzone/Utilities/SavedGames/roch3.log | 6 + .../warzone/Utilities/SavedGames/roch4.log | 9 + .../java/project/app/warzone/gameplay.log | 167 +--- .../warzone/Features/PlayerFeaturesTest.java | 74 +- 20 files changed, 2732 insertions(+), 222 deletions(-) create mode 100644 src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_1.log create mode 100644 src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_2.log create mode 100644 src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_3.log create mode 100644 src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_1.log create mode 100644 src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_2.log create mode 100644 src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_3.log create mode 100644 src/main/java/project/app/warzone/Utilities/SavedGames/roch1.log create mode 100644 src/main/java/project/app/warzone/Utilities/SavedGames/roch2.log create mode 100644 src/main/java/project/app/warzone/Utilities/SavedGames/roch3.log create mode 100644 src/main/java/project/app/warzone/Utilities/SavedGames/roch4.log diff --git a/spring-shell.log b/spring-shell.log index 745f126..40a8385 100644 --- a/spring-shell.log +++ b/spring-shell.log @@ -2746,3 +2746,136 @@ 1701376388859:savegame temp 1701376456665:loadgame temp 1701376464323:showstats +1701378923765:loadmap europe +1701378925860:showmap +1701378933019:gameplayer -add p1 -add p2 +1701378934815:N +1701378941167:assigncountries +1701379061225:loadmap europe +1701379063575:showmap +1701379078186:gameplayer -add p1 -add p2 -add p3 -add p4 +1701379079724:N +1701379088826:assigncountries +1701379176570:loadmap europe +1701379178143:showmap +1701379184566:gameplayer -add p1 -add p2 -add p3 +1701379186148:N +1701379197371:assigncountries +1701379206085:deploy 1 3 +1701379222727:deploy 8 3 +1701379224485:N +1701379237325:savegame roch1 +1701379285159:savegame +1701379288798:savegame roch1 +1701379325435:loadgame roch1 +1701379465477:loadmap europe +1701379467984:showmap +1701379476006:gameplayer -add p1 -add p2 -add p3 +1701379477621:N +1701379484695:assigncountries +1701379612095:loadmap europe +1701379613587:showmap +1701379618993:gameplayer -add p1 -add p2 +1701379620646:N +1701379624129:4 +1701379629225:assigncountries +1701379647892:loadmap europe +1701379650322:showmap +1701379657137:gameplayer -add p1 -add p2 -add p3 +1701379658648:N +1701379665049:assigncountries +1701379748820:loadmap europe +1701379750590:showmap +1701379761920:gameplayer -add p1 -add p2 -add p3 -add p4 +1701379763409:N +1701379770843:assigncountries +1701380018181:loadmap europe +1701380019580:showmap +1701380028012:gameplayer -add p1 -add p2 -add p3 -add p4 +1701380029601:N +1701380037953:assigncountries +1701380213563:tournament -M europe Montreal -P 2 3 4 -G 2 -D 5 +1701380717334:tournament -M europe,Montreal -P 2 5 -G 2 -D 10 +1701380859773:loadmap europe +1701380861377:showmap +1701380866532:gameplayer -add p1 -add p2 +1701380868301:N +1701380874527:assigncountries +1701380881489:deploy 1 3 +1701380889271:N +1701380895336:showstats +1701380962766:loadmap europe +1701380964521:showmap +1701380969346:gameplayer -add p1 -add p2 +1701380970948:N +1701380976400:assigncountries +1701380982192:deploy 1 3 +1701380983710:N +1701381076977:loadmap europe +1701381078407:showmap +1701381083799:gameplayer -add p1 -add p2 +1701381085964:N +1701381092188:assigncountries +1701381095881:deploy 1 3 +1701381097229:N +1701381191272:loadmap europe +1701381192669:showmap +1701381197877:gameplayer -add p1 -add p2 +1701381199197:N +1701381205106:assigncountries +1701381209546:deploy 1 3 +1701381248033:loadmap europe +1701381249520:showmap +1701381256900:gameplayer -add p1 -add p2 +1701381258354:N +1701381263420:assigncountries +1701381270734:deploy 1 3 +1701381327386:N +1701381404489:tournament -M europe Montreal -P 2 4 -G 2 -D 15 +1701381457855:stacktrace +1701381666785:tournament -M europe,Montreal -P 2 4 -G 2 -D 20 +1701381775332:tournament -M europe Montreal -P 4 5 -G 3 -D 15 +1701381915771:tournament -M europe Montreal -P 2 4 -G 1 -D 30 +1701382075865:loadmap europe +1701382077734:showmap +1701382098416:gameplayer -add p1 -add p2 -add p3 +1701382099843:N +1701382109969:assigncountries +1701382224449:loadmap europe +1701382226121:showmap +1701382235602:gameplayer -add p1 -add p2 -add p3 +1701382237097:N +1701382245074:assigncountries +1701382379901:loadmap europe +1701382381673:showmap +1701382397999:gameplayer -add p1 -add p2 -add p3 +1701382399425:N +1701382406232:assigncountries +1701382432032:savegame roch2 +1701382452604:loadgame roch2 +1701382516661:loadmap Montreal +1701382520271:showmap +1701382529062:gameplayer -add p1 -add p2 -add p3 -add p4 +1701382533642:N +1701382571908:assigncountries +1701382586021:stacktrace +1701382700709:loadmap Montreal +1701382704174:showmap +1701382717731:gameplayer -add p1 -add p2 -add p3 -add p4 +1701382719286:N +1701382730239:assigncountries +1701382784268:loadmap europe +1701382786284:showmap +1701382794439:gameplayer -add p1 -add p2 +1701382796708:N +1701382804833:4 +1701382810451:savegame roch3 +1701382820295:loadgame roch3 +1701382893746:loadmap europe +1701382901210:showmap +1701382908254:gameplayer -add p1 -add p2 -add p3 +1701382909708:N +1701382917893:4 +1701382921364:assigncountries +1701382926781:savegame roch4 +1701382969100:loadgame roch4 diff --git a/src/main/java/project/app/warzone/Commands/PlayerCommands.java b/src/main/java/project/app/warzone/Commands/PlayerCommands.java index 666fa95..91c27ee 100644 --- a/src/main/java/project/app/warzone/Commands/PlayerCommands.java +++ b/src/main/java/project/app/warzone/Commands/PlayerCommands.java @@ -21,6 +21,7 @@ import project.app.warzone.Features.PlayerFeatures; import project.app.warzone.Model.Attack; import project.app.warzone.Model.Cards; +import project.app.warzone.Model.Country; import project.app.warzone.Model.GameEngine; import project.app.warzone.Model.LogEntryBuffer; import project.app.warzone.Model.Map; @@ -118,11 +119,20 @@ public String gamePlayerAdd( @ShellMethod(key = "assigncountries", value = "This is used to assign countries to players randomly") public void assigncountries() { // d_gameEngine.getGamePhase().assignCountries(); - d_gameEngine.getGamePhase().assignCountriesForDemo(); // Added to demonstrate different attacks during presentation + if(d_gameEngine.getPlayers().size() >1){ + //d_gameEngine.getGamePhase().assignCountriesForDemo(); // Added to demonstrate different attacks during presentation + d_gameEngine.getGamePhase().assignCountries(); + showStats(); - showStats(); + d_gameEngine.checkPlayersReinforcements(); - d_gameEngine.checkPlayersReinforcements(); + + } + + + else{ + System.out.println("You need atleast 2 players to play the game. Please add more players"); + } } /** @@ -351,6 +361,18 @@ public void saveGame(@ShellOption String p_fileName) { l_line = l_reader.readLine(); } l_writer.append("\n\n-------------------Game Over-----------------\n"); + List l_listOfPlayers = d_gameEngine.getPlayers(); + for (Player l_p : l_listOfPlayers) { + l_writer.append("Player Name:" + l_p.d_playername + "\nPlayerId:" + l_p.d_playerid +"\nPlayer Strategy:" + l_p.getStrategy().getClass().getSimpleName()).append("\n"); + l_writer.append("Total Armies available per round: " + l_p.getReinforcementArmies()).append("\n"); + l_writer.append("CountryID - Countries Owned - Armies").append("\n"); + + for (Country t : l_p.getListOfTerritories()) { + l_writer.append(t.getCountryId() + " - " + t.getCountryName() + " - " + t.getNumberOfArmies()).append("\n"); + } + + l_writer.append("-------------------------------"); + } l_writer.append("Results:\n"); if(d_gameEngine.getPlayers().size() == 1){ l_writer.append("Winner: " + d_gameEngine.getPlayers().get(0).getL_playername()); diff --git a/src/main/java/project/app/warzone/Features/PlayerFeatures.java b/src/main/java/project/app/warzone/Features/PlayerFeatures.java index 2f10c2b..8cd6ce1 100644 --- a/src/main/java/project/app/warzone/Features/PlayerFeatures.java +++ b/src/main/java/project/app/warzone/Features/PlayerFeatures.java @@ -101,6 +101,8 @@ public void assignCountriesForDemo(GameEngine p_gameEngine) { add(7); add(20); add(9); + add(13); + add(16); } }; diff --git a/src/main/java/project/app/warzone/Model/AggressiveStrategy.java b/src/main/java/project/app/warzone/Model/AggressiveStrategy.java index 0471165..a7e29a3 100644 --- a/src/main/java/project/app/warzone/Model/AggressiveStrategy.java +++ b/src/main/java/project/app/warzone/Model/AggressiveStrategy.java @@ -147,7 +147,7 @@ public List createOrder(){ int l_countryToOwner = countryToAttack.getOwnerId(); - Player player2 = d_gameEngine.getPlayers().get(l_countryToOwner-1); + Player player2 = d_gameEngine.getPlayerFromID(l_countryToOwner); int armiesToAttack = attackers; diff --git a/src/main/java/project/app/warzone/Model/BenevolentStrategy.java b/src/main/java/project/app/warzone/Model/BenevolentStrategy.java index c9f7b43..8291297 100644 --- a/src/main/java/project/app/warzone/Model/BenevolentStrategy.java +++ b/src/main/java/project/app/warzone/Model/BenevolentStrategy.java @@ -43,9 +43,11 @@ public List createOrder(){ List listOfOrders = new ArrayList<>(); - Country targetCountry = toDefend().get(0); + if(toDefend().size()>0){ - while(d_player.getReinforcementArmies() > 0){ + Country targetCountry = toDefend().get(0); + + while(d_player.getReinforcementArmies() > 0){ int armiesToDeploy = d_player.getReinforcementArmies(); @@ -71,7 +73,7 @@ public List createOrder(){ int movers = toDefend().get(toDefend().size()-1).getNumberOfArmies() ; - while(movers > 0 && toDefend()!= null && toDefend().size() > 0 ){ + while(movers > 0 && toDefend()!= null && toDefend().size() > 0 && toDefend().size()>1){ @@ -92,7 +94,7 @@ public List createOrder(){ listOfOrders.add(newAdvanceOrdr); - System.out.println("Added Attack Order for player:"+d_player.getL_playername()+" with strategy:"+d_player.getStrategy().getClass().getSimpleName()); + System.out.println("Move Order for player:"+d_player.getL_playername()+" with strategy:"+d_player.getStrategy().getClass().getSimpleName()); System.out.println("Armies:"+numberofArmies+" FromCountry:"+targetCountry.getCountryName()+" ToCountry:"+l_countryToAdvance.getCountryName() ); @@ -106,6 +108,11 @@ public List createOrder(){ d_player.pendingOrder=false; return listOfOrders; + + } + + return null; + } diff --git a/src/main/java/project/app/warzone/Model/CheaterStrategy.java b/src/main/java/project/app/warzone/Model/CheaterStrategy.java index cb7427c..8bb2631 100644 --- a/src/main/java/project/app/warzone/Model/CheaterStrategy.java +++ b/src/main/java/project/app/warzone/Model/CheaterStrategy.java @@ -117,7 +117,7 @@ public List createOrder(){ int l_countryToOwner = c.getOwnerId(); - Player player2 = d_gameEngine.getPlayers().get(l_countryToOwner-1); + Player player2 = d_gameEngine.getPlayerFromID(l_countryToOwner); player2.removeTerritory(c); diff --git a/src/main/java/project/app/warzone/Model/GameEngine.java b/src/main/java/project/app/warzone/Model/GameEngine.java index 71aa78d..7ee7ed3 100644 --- a/src/main/java/project/app/warzone/Model/GameEngine.java +++ b/src/main/java/project/app/warzone/Model/GameEngine.java @@ -69,6 +69,20 @@ public Phase getGamePhase() { } + /** + * @return returns player from Id + */ + public Player getPlayerFromID(int id) { + + for(Player p : getPlayers() ){ + if(p.getL_playerid() == id){ + return p; + } + } + return null; + } + + /** * used for returning player list * @@ -254,15 +268,21 @@ public String checkPlayersReinforcements(){ else{ - System.out.println(" ------- GAME ROUND: "+gameRound++ +" - Executing Orders from players - "); execute_orders(); - if(l_players.size() == 1 ){ + if(gameRound < 50){ + + System.out.println(" ------- GAME ROUND: "+gameRound++ +" - Executing Orders from players - "); - System.out.println("Player:"+ l_players.get(0).getL_playername()+" is the winner of the game"); - setPhase(new End(this)); - checkPlayersReinforcements(); + + if(l_players.size() == 1 ){ + + System.out.println("Player:"+ l_players.get(0).getL_playername()+" is the winner of the game"); + playerCommands.showStats(); + + setPhase(new End(this)); + checkPlayersReinforcements(); } else{ @@ -275,7 +295,7 @@ public String checkPlayersReinforcements(){ for( Player p : l_players){ p.pendingOrder = true; if(p.getL_playerid() == 1){ - p.addReinforcementArmies(10); // add reinforcement armies of 2 after every level + p.addReinforcementArmies(4); // add reinforcement armies of 2 after every level } p.addReinforcementArmies(2); // add reinforcement armies of 2 after every level @@ -293,6 +313,18 @@ public String checkPlayersReinforcements(){ } + + } + else{ + + System.out.println("Stopped game after 50 rounds"); + playerCommands.showStats(); + + + + } + + diff --git a/src/main/java/project/app/warzone/Model/RandomStrategy.java b/src/main/java/project/app/warzone/Model/RandomStrategy.java index bebd007..fbd48bd 100644 --- a/src/main/java/project/app/warzone/Model/RandomStrategy.java +++ b/src/main/java/project/app/warzone/Model/RandomStrategy.java @@ -117,61 +117,69 @@ public List createOrder(){ List countriesToAttack = toAttack(); List countriesToAttackFrom = toDefend(); - Country randomCountryToAttack = countriesToAttack.get(l_random.nextInt(toAttack().size())); - Country randomCountryToFrom =countriesToAttackFrom.get(l_random.nextInt(toDefend().size())); + if(toAttack().size() > 0 && toDefend().size()>0){ - int attackers = randomCountryToFrom.getNumberOfArmies() ; + Country randomCountryToAttack = countriesToAttack.get(l_random.nextInt(toAttack().size())); + Country randomCountryToFrom =countriesToAttackFrom.get(l_random.nextInt(toDefend().size())); - if(countriesToAttack.size() > 0 && attackers > 0 ){ + int attackers = randomCountryToFrom.getNumberOfArmies() ; + if(countriesToAttack.size() > 0 && attackers > 0 ){ - int numberofArmies = (l_random.nextInt() % attackers) + 1; - int l_countryToOwner = randomCountryToAttack.getOwnerId(); + int numberofArmies = (l_random.nextInt() % attackers) + 1; - Player player2 = d_gameEngine.getPlayers().get(l_countryToOwner-1); + int l_countryToOwner = randomCountryToAttack.getOwnerId(); - OrderInterface newAdvanceOrdr = new ConcreteAdvance(d_player,player2,numberofArmies,randomCountryToFrom,randomCountryToAttack); + Player player2 = d_gameEngine.getPlayerFromID(l_countryToOwner); - listOfOrders.add(newAdvanceOrdr); + OrderInterface newAdvanceOrdr = new ConcreteAdvance(d_player,player2,numberofArmies,randomCountryToFrom,randomCountryToAttack); - System.out.println("Added Attack Order for player:"+d_player.getL_playername()+" with strategy:"+d_player.getStrategy().getClass().getSimpleName()); + listOfOrders.add(newAdvanceOrdr); - System.out.println("Armies:"+attackers+" FromCountry:"+randomCountryToFrom.getCountryName()+" ToCountry:"+randomCountryToAttack.getCountryName() ); + System.out.println("Added Attack Order for player:"+d_player.getL_playername()+" with strategy:"+d_player.getStrategy().getClass().getSimpleName()); + System.out.println("Armies:"+attackers+" FromCountry:"+randomCountryToFrom.getCountryName()+" ToCountry:"+randomCountryToAttack.getCountryName() ); + + } + } + - // Advance randomly to a different country - Country randomCountryToMoveFrom = toDefend().get(l_random.nextInt(toAttack().size())); - Country randomCountryToMoveTo = toDefend().get(l_random.nextInt(toDefend().size())); + // Advance randomly to a different country + if(toAttack().size() > 0 && toDefend().size()>0){ - if(randomCountryToMoveFrom!=null && randomCountryToMoveTo !=null && randomCountryToMoveFrom.getNumberOfArmies()>0 ){ + Country randomCountryToMoveFrom = toDefend().get(l_random.nextInt(toAttack().size())); + Country randomCountryToMoveTo = toDefend().get(l_random.nextInt(toDefend().size())); - int numberofArmies = (l_random.nextInt() % randomCountryToMoveFrom.getNumberOfArmies()) + 1; - - OrderInterface newMoveOrder = new ConcreteAdvance(d_player,null,numberofArmies,randomCountryToMoveFrom,randomCountryToMoveTo); + if(randomCountryToMoveFrom!=null && randomCountryToMoveTo !=null && randomCountryToMoveFrom.getNumberOfArmies()>0 ){ + int numberofArmies = (l_random.nextInt() % randomCountryToMoveFrom.getNumberOfArmies()) + 1; - listOfOrders.add(newMoveOrder); + + OrderInterface newMoveOrder = new ConcreteAdvance(d_player,null,numberofArmies,randomCountryToMoveFrom,randomCountryToMoveTo); - System.out.println("Added Advance Order for player:"+d_player.getL_playername()+" with strategy:"+d_player.getStrategy().getClass().getSimpleName()); - System.out.println("Armies:"+numberofArmies+" FromCountry:"+randomCountryToMoveFrom.getCountryName()+" ToCountry:"+randomCountryToMoveTo.getCountryName() ); + listOfOrders.add(newMoveOrder); + System.out.println("Added Advance Order for player:"+d_player.getL_playername()+" with strategy:"+d_player.getStrategy().getClass().getSimpleName()); + System.out.println("Armies:"+numberofArmies+" FromCountry:"+randomCountryToMoveFrom.getCountryName()+" ToCountry:"+randomCountryToMoveTo.getCountryName() ); - } - + } + + } + diff --git a/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_1.log b/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_1.log new file mode 100644 index 0000000..a856bf4 --- /dev/null +++ b/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_1.log @@ -0,0 +1,623 @@ +Tournament Mode Game +Map File: Montreal.map +Game number: 1 + +Game Commnece + + +1 loadmap europe +Time: 05:05:15 +Status: SUCCESS +Description: Map loaded successfully europe + +2 showmap +Time: 05:05:15 +Status: SUCCESS +Description: User printed map europe + +4 gameplayer -add Player_1 +Time: 05:05:15 +Status: SUCCESS +Description: Players added successfully + +5 gameplayer -add Player_2 +Time: 05:05:15 +Status: SUCCESS +Description: Players added successfully + +6 N_players +Time: 05:05:15 +Status: SUCCESS +Description: Command N was executed + +8 2_strategy +Time: 05:05:15 +Status: SUCCESS +Description: User is setting the strategy + +9 4_strategy +Time: 05:05:15 +Status: SUCCESS +Description: User is setting the strategy + +10 assigncountries +Time: 05:05:15 +Status: SUCCESS +Description: Countries assigned successfully + +11 showstats +Time: 05:05:15 +Status: SUCCESS +Description: Stats shown. + +12 Deploy +Time: 05:05:15 +Status: SUCCESS +Description: Executed Deploy Attack + +13 Deploy +Time: 05:05:15 +Status: SUCCESS +Description: Executed Deploy Attack + +14 showstats +Time: 05:05:15 +Status: SUCCESS +Description: Stats shown. + +15 Deploy +Time: 05:05:15 +Status: SUCCESS +Description: Executed Deploy Attack + +16 Deploy +Time: 05:05:15 +Status: SUCCESS +Description: Executed Deploy Attack + +17 Advance +Time: 05:05:15 +Status: SUCCESS +Description: Executed Advance Attack + +18 Advance +Time: 05:05:15 +Status: SUCCESS +Description: Executed Advance Attack + +19 Advance +Time: 05:05:15 +Status: SUCCESS +Description: Executed Advance Attack + +20 showstats +Time: 05:05:15 +Status: SUCCESS +Description: Stats shown. + +21 Deploy +Time: 05:05:15 +Status: SUCCESS +Description: Executed Deploy Attack + +22 Deploy +Time: 05:05:15 +Status: SUCCESS +Description: Executed Deploy Attack + +23 Advance +Time: 05:05:15 +Status: SUCCESS +Description: Executed Advance Attack + +24 showstats +Time: 05:05:15 +Status: SUCCESS +Description: Stats shown. + +25 loadmap Montreal +Time: 05:05:19 +Status: SUCCESS +Description: Map loaded successfully Montreal + +27 gameplayer -add Player_1 +Time: 05:05:19 +Status: SUCCESS +Description: Players added successfully + +28 gameplayer -add Player_2 +Time: 05:05:19 +Status: SUCCESS +Description: Players added successfully + +29 N_players +Time: 05:05:19 +Status: SUCCESS +Description: Command N was executed + +31 2_strategy +Time: 05:05:19 +Status: SUCCESS +Description: User is setting the strategy + +32 4_strategy +Time: 05:05:19 +Status: SUCCESS +Description: User is setting the strategy + +33 assigncountries +Time: 05:05:19 +Status: SUCCESS +Description: Countries assigned successfully + +34 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +35 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +36 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +37 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +38 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +39 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +40 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +41 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +42 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +43 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +44 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +45 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +46 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +47 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +48 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +49 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +50 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +51 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +52 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +53 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +54 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +55 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +56 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +57 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +58 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +59 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +60 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +61 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +62 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +63 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +64 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +65 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +66 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +67 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +68 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +69 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +70 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +71 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +72 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +73 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +74 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +75 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +76 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +77 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +78 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +79 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +80 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +81 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +82 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +83 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +84 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +85 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +86 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +87 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +88 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +89 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +90 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +91 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +92 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +93 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +94 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +95 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +96 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +97 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +98 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +99 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +100 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +101 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +102 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +103 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +104 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +105 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +106 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +107 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +108 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +109 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +110 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +111 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +112 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +113 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +114 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +115 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +116 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +117 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +118 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +119 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +120 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +121 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + +122 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +123 Deploy +Time: 05:05:19 +Status: SUCCESS +Description: Executed Deploy Attack + +124 showstats +Time: 05:05:19 +Status: SUCCESS +Description: Stats shown. + + +-------------------Game Over----------------- +Player Name:Player_1 +PlayerId:1 +Player Strategy:AggressiveStrategy +Total Armies available per round: 6 +CountryID - Countries Owned - Armies +0 - RDP-PAT - 177 +-------------------------------Player Name:Player_2 +PlayerId:2 +Player Strategy:RandomStrategy +Total Armies available per round: 2 +CountryID - Countries Owned - Armies +7 - Rosemont - 61 +-------------------------------Results: +Draw \ No newline at end of file diff --git a/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_2.log b/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_2.log new file mode 100644 index 0000000..970ab5d --- /dev/null +++ b/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_2.log @@ -0,0 +1,568 @@ +Tournament Mode Game +Map File: Montreal.map +Game number: 2 + +Game Commnece + + +1 loadmap europe +Time: 05:02:55 +Status: SUCCESS +Description: Map loaded successfully europe + +2 showmap +Time: 05:02:55 +Status: SUCCESS +Description: User printed map europe + +4 gameplayer -add Player_1 +Time: 05:02:55 +Status: SUCCESS +Description: Players added successfully + +5 gameplayer -add Player_2 +Time: 05:02:55 +Status: SUCCESS +Description: Players added successfully + +6 N_players +Time: 05:02:55 +Status: SUCCESS +Description: Command N was executed + +8 4_strategy +Time: 05:02:55 +Status: SUCCESS +Description: User is setting the strategy + +9 5_strategy +Time: 05:02:55 +Status: SUCCESS +Description: User is setting the strategy + +10 assigncountries +Time: 05:02:55 +Status: SUCCESS +Description: Countries assigned successfully + +11 showstats +Time: 05:02:55 +Status: SUCCESS +Description: Stats shown. + +12 Deploy +Time: 05:02:59 +Status: SUCCESS +Description: Executed Deploy Attack + +13 showstats +Time: 05:02:59 +Status: SUCCESS +Description: Stats shown. + +14 loadmap europe +Time: 05:03:01 +Status: SUCCESS +Description: Map loaded successfully europe + +15 showmap +Time: 05:03:01 +Status: SUCCESS +Description: User printed map europe + +17 gameplayer -add Player_1 +Time: 05:03:01 +Status: SUCCESS +Description: Players added successfully + +18 gameplayer -add Player_2 +Time: 05:03:01 +Status: SUCCESS +Description: Players added successfully + +19 N_players +Time: 05:03:01 +Status: SUCCESS +Description: Command N was executed + +21 4_strategy +Time: 05:03:01 +Status: SUCCESS +Description: User is setting the strategy + +22 5_strategy +Time: 05:03:01 +Status: SUCCESS +Description: User is setting the strategy + +23 assigncountries +Time: 05:03:01 +Status: SUCCESS +Description: Countries assigned successfully + +24 showstats +Time: 05:03:01 +Status: SUCCESS +Description: Stats shown. + +25 Deploy +Time: 05:03:01 +Status: SUCCESS +Description: Executed Deploy Attack + +26 showstats +Time: 05:03:01 +Status: SUCCESS +Description: Stats shown. + +27 loadmap europe +Time: 05:03:02 +Status: SUCCESS +Description: Map loaded successfully europe + +28 showmap +Time: 05:03:02 +Status: SUCCESS +Description: User printed map europe + +30 gameplayer -add Player_1 +Time: 05:03:02 +Status: SUCCESS +Description: Players added successfully + +31 gameplayer -add Player_2 +Time: 05:03:02 +Status: SUCCESS +Description: Players added successfully + +32 N_players +Time: 05:03:02 +Status: SUCCESS +Description: Command N was executed + +34 4_strategy +Time: 05:03:02 +Status: SUCCESS +Description: User is setting the strategy + +35 5_strategy +Time: 05:03:02 +Status: SUCCESS +Description: User is setting the strategy + +36 assigncountries +Time: 05:03:02 +Status: SUCCESS +Description: Countries assigned successfully + +37 showstats +Time: 05:03:02 +Status: SUCCESS +Description: Stats shown. + +38 Deploy +Time: 05:03:02 +Status: SUCCESS +Description: Executed Deploy Attack + +39 showstats +Time: 05:03:02 +Status: SUCCESS +Description: Stats shown. + +40 loadmap Montreal +Time: 05:03:02 +Status: SUCCESS +Description: Map loaded successfully Montreal + +42 gameplayer -add Player_1 +Time: 05:03:03 +Status: SUCCESS +Description: Players added successfully + +43 gameplayer -add Player_2 +Time: 05:03:03 +Status: SUCCESS +Description: Players added successfully + +44 N_players +Time: 05:03:03 +Status: SUCCESS +Description: Command N was executed + +46 4_strategy +Time: 05:03:03 +Status: SUCCESS +Description: User is setting the strategy + +47 5_strategy +Time: 05:03:03 +Status: SUCCESS +Description: User is setting the strategy + +48 assigncountries +Time: 05:03:03 +Status: SUCCESS +Description: Countries assigned successfully + +49 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +50 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +51 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +52 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +53 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +54 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +55 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +56 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +57 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +58 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +59 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +60 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +61 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +62 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +63 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +64 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +65 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +66 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +67 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +68 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +69 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +70 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +71 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +72 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +73 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +74 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +75 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +76 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +77 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +78 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +79 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +80 loadmap Montreal +Time: 05:03:03 +Status: SUCCESS +Description: Map loaded successfully Montreal + +82 gameplayer -add Player_1 +Time: 05:03:03 +Status: SUCCESS +Description: Players added successfully + +83 gameplayer -add Player_2 +Time: 05:03:03 +Status: SUCCESS +Description: Players added successfully + +84 N_players +Time: 05:03:03 +Status: SUCCESS +Description: Command N was executed + +86 4_strategy +Time: 05:03:03 +Status: SUCCESS +Description: User is setting the strategy + +87 5_strategy +Time: 05:03:03 +Status: SUCCESS +Description: User is setting the strategy + +88 assigncountries +Time: 05:03:03 +Status: SUCCESS +Description: Countries assigned successfully + +89 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +90 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +91 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +92 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +93 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +94 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +95 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +96 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +97 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +98 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +99 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +100 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +101 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +102 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +103 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +104 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +105 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +106 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +107 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +108 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +109 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +110 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +111 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +112 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +113 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +114 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +115 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +116 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +117 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +118 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +119 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + + +-------------------Game Over----------------- +Player Name:Player_1 +PlayerId:1 +Player Strategy:RandomStrategy +Total Armies available per round: 6 +CountryID - Countries Owned - Armies +0 - RDP-PAT - 87 +-------------------------------Player Name:Player_2 +PlayerId:2 +Player Strategy:CheaterStrategy +Total Armies available per round: 2 +CountryID - Countries Owned - Armies +7 - Rosemont - 0 +-------------------------------Results: +Draw \ No newline at end of file diff --git a/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_3.log b/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_3.log new file mode 100644 index 0000000..49eb4b7 --- /dev/null +++ b/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_3.log @@ -0,0 +1,758 @@ +Tournament Mode Game +Map File: Montreal.map +Game number: 3 + +Game Commnece + + +1 loadmap europe +Time: 05:02:55 +Status: SUCCESS +Description: Map loaded successfully europe + +2 showmap +Time: 05:02:55 +Status: SUCCESS +Description: User printed map europe + +4 gameplayer -add Player_1 +Time: 05:02:55 +Status: SUCCESS +Description: Players added successfully + +5 gameplayer -add Player_2 +Time: 05:02:55 +Status: SUCCESS +Description: Players added successfully + +6 N_players +Time: 05:02:55 +Status: SUCCESS +Description: Command N was executed + +8 4_strategy +Time: 05:02:55 +Status: SUCCESS +Description: User is setting the strategy + +9 5_strategy +Time: 05:02:55 +Status: SUCCESS +Description: User is setting the strategy + +10 assigncountries +Time: 05:02:55 +Status: SUCCESS +Description: Countries assigned successfully + +11 showstats +Time: 05:02:55 +Status: SUCCESS +Description: Stats shown. + +12 Deploy +Time: 05:02:59 +Status: SUCCESS +Description: Executed Deploy Attack + +13 showstats +Time: 05:02:59 +Status: SUCCESS +Description: Stats shown. + +14 loadmap europe +Time: 05:03:01 +Status: SUCCESS +Description: Map loaded successfully europe + +15 showmap +Time: 05:03:01 +Status: SUCCESS +Description: User printed map europe + +17 gameplayer -add Player_1 +Time: 05:03:01 +Status: SUCCESS +Description: Players added successfully + +18 gameplayer -add Player_2 +Time: 05:03:01 +Status: SUCCESS +Description: Players added successfully + +19 N_players +Time: 05:03:01 +Status: SUCCESS +Description: Command N was executed + +21 4_strategy +Time: 05:03:01 +Status: SUCCESS +Description: User is setting the strategy + +22 5_strategy +Time: 05:03:01 +Status: SUCCESS +Description: User is setting the strategy + +23 assigncountries +Time: 05:03:01 +Status: SUCCESS +Description: Countries assigned successfully + +24 showstats +Time: 05:03:01 +Status: SUCCESS +Description: Stats shown. + +25 Deploy +Time: 05:03:01 +Status: SUCCESS +Description: Executed Deploy Attack + +26 showstats +Time: 05:03:01 +Status: SUCCESS +Description: Stats shown. + +27 loadmap europe +Time: 05:03:02 +Status: SUCCESS +Description: Map loaded successfully europe + +28 showmap +Time: 05:03:02 +Status: SUCCESS +Description: User printed map europe + +30 gameplayer -add Player_1 +Time: 05:03:02 +Status: SUCCESS +Description: Players added successfully + +31 gameplayer -add Player_2 +Time: 05:03:02 +Status: SUCCESS +Description: Players added successfully + +32 N_players +Time: 05:03:02 +Status: SUCCESS +Description: Command N was executed + +34 4_strategy +Time: 05:03:02 +Status: SUCCESS +Description: User is setting the strategy + +35 5_strategy +Time: 05:03:02 +Status: SUCCESS +Description: User is setting the strategy + +36 assigncountries +Time: 05:03:02 +Status: SUCCESS +Description: Countries assigned successfully + +37 showstats +Time: 05:03:02 +Status: SUCCESS +Description: Stats shown. + +38 Deploy +Time: 05:03:02 +Status: SUCCESS +Description: Executed Deploy Attack + +39 showstats +Time: 05:03:02 +Status: SUCCESS +Description: Stats shown. + +40 loadmap Montreal +Time: 05:03:02 +Status: SUCCESS +Description: Map loaded successfully Montreal + +42 gameplayer -add Player_1 +Time: 05:03:03 +Status: SUCCESS +Description: Players added successfully + +43 gameplayer -add Player_2 +Time: 05:03:03 +Status: SUCCESS +Description: Players added successfully + +44 N_players +Time: 05:03:03 +Status: SUCCESS +Description: Command N was executed + +46 4_strategy +Time: 05:03:03 +Status: SUCCESS +Description: User is setting the strategy + +47 5_strategy +Time: 05:03:03 +Status: SUCCESS +Description: User is setting the strategy + +48 assigncountries +Time: 05:03:03 +Status: SUCCESS +Description: Countries assigned successfully + +49 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +50 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +51 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +52 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +53 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +54 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +55 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +56 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +57 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +58 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +59 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +60 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +61 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +62 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +63 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +64 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +65 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +66 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +67 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +68 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +69 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +70 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +71 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +72 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +73 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +74 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +75 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +76 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +77 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +78 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +79 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +80 loadmap Montreal +Time: 05:03:03 +Status: SUCCESS +Description: Map loaded successfully Montreal + +82 gameplayer -add Player_1 +Time: 05:03:03 +Status: SUCCESS +Description: Players added successfully + +83 gameplayer -add Player_2 +Time: 05:03:03 +Status: SUCCESS +Description: Players added successfully + +84 N_players +Time: 05:03:03 +Status: SUCCESS +Description: Command N was executed + +86 4_strategy +Time: 05:03:03 +Status: SUCCESS +Description: User is setting the strategy + +87 5_strategy +Time: 05:03:03 +Status: SUCCESS +Description: User is setting the strategy + +88 assigncountries +Time: 05:03:03 +Status: SUCCESS +Description: Countries assigned successfully + +89 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +90 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +91 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +92 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +93 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +94 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +95 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +96 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +97 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +98 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +99 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +100 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +101 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +102 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +103 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +104 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +105 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +106 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +107 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +108 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +109 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +110 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +111 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +112 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +113 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +114 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +115 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +116 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +117 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +118 Deploy +Time: 05:03:03 +Status: SUCCESS +Description: Executed Deploy Attack + +119 showstats +Time: 05:03:03 +Status: SUCCESS +Description: Stats shown. + +120 loadmap Montreal +Time: 05:03:04 +Status: SUCCESS +Description: Map loaded successfully Montreal + +122 gameplayer -add Player_1 +Time: 05:03:04 +Status: SUCCESS +Description: Players added successfully + +123 gameplayer -add Player_2 +Time: 05:03:04 +Status: SUCCESS +Description: Players added successfully + +124 N_players +Time: 05:03:04 +Status: SUCCESS +Description: Command N was executed + +126 4_strategy +Time: 05:03:04 +Status: SUCCESS +Description: User is setting the strategy + +127 5_strategy +Time: 05:03:04 +Status: SUCCESS +Description: User is setting the strategy + +128 assigncountries +Time: 05:03:04 +Status: SUCCESS +Description: Countries assigned successfully + +129 showstats +Time: 05:03:04 +Status: SUCCESS +Description: Stats shown. + +130 Deploy +Time: 05:03:04 +Status: SUCCESS +Description: Executed Deploy Attack + +131 showstats +Time: 05:03:04 +Status: SUCCESS +Description: Stats shown. + +132 Deploy +Time: 05:03:04 +Status: SUCCESS +Description: Executed Deploy Attack + +133 showstats +Time: 05:03:04 +Status: SUCCESS +Description: Stats shown. + +134 Deploy +Time: 05:03:04 +Status: SUCCESS +Description: Executed Deploy Attack + +135 showstats +Time: 05:03:04 +Status: SUCCESS +Description: Stats shown. + +136 Deploy +Time: 05:03:04 +Status: SUCCESS +Description: Executed Deploy Attack + +137 showstats +Time: 05:03:04 +Status: SUCCESS +Description: Stats shown. + +138 Deploy +Time: 05:03:04 +Status: SUCCESS +Description: Executed Deploy Attack + +139 showstats +Time: 05:03:04 +Status: SUCCESS +Description: Stats shown. + +140 Deploy +Time: 05:03:04 +Status: SUCCESS +Description: Executed Deploy Attack + +141 showstats +Time: 05:03:04 +Status: SUCCESS +Description: Stats shown. + +142 Deploy +Time: 05:03:04 +Status: SUCCESS +Description: Executed Deploy Attack + +143 showstats +Time: 05:03:04 +Status: SUCCESS +Description: Stats shown. + +144 Deploy +Time: 05:03:04 +Status: SUCCESS +Description: Executed Deploy Attack + +145 showstats +Time: 05:03:04 +Status: SUCCESS +Description: Stats shown. + +146 Deploy +Time: 05:03:04 +Status: SUCCESS +Description: Executed Deploy Attack + +147 showstats +Time: 05:03:04 +Status: SUCCESS +Description: Stats shown. + +148 Deploy +Time: 05:03:04 +Status: SUCCESS +Description: Executed Deploy Attack + +149 showstats +Time: 05:03:04 +Status: SUCCESS +Description: Stats shown. + +150 Deploy +Time: 05:03:04 +Status: SUCCESS +Description: Executed Deploy Attack + +151 showstats +Time: 05:03:04 +Status: SUCCESS +Description: Stats shown. + +152 Deploy +Time: 05:03:04 +Status: SUCCESS +Description: Executed Deploy Attack + +153 showstats +Time: 05:03:04 +Status: SUCCESS +Description: Stats shown. + +154 Deploy +Time: 05:03:04 +Status: SUCCESS +Description: Executed Deploy Attack + +155 showstats +Time: 05:03:04 +Status: SUCCESS +Description: Stats shown. + +156 Deploy +Time: 05:03:04 +Status: SUCCESS +Description: Executed Deploy Attack + +157 showstats +Time: 05:03:04 +Status: SUCCESS +Description: Stats shown. + +158 Deploy +Time: 05:03:04 +Status: SUCCESS +Description: Executed Deploy Attack + +159 showstats +Time: 05:03:04 +Status: SUCCESS +Description: Stats shown. + + +-------------------Game Over----------------- +Player Name:Player_1 +PlayerId:1 +Player Strategy:RandomStrategy +Total Armies available per round: 6 +CountryID - Countries Owned - Armies +0 - RDP-PAT - 87 +-------------------------------Player Name:Player_2 +PlayerId:2 +Player Strategy:CheaterStrategy +Total Armies available per round: 2 +CountryID - Countries Owned - Armies +7 - Rosemont - 0 +-------------------------------Results: +Draw \ No newline at end of file diff --git a/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_1.log b/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_1.log new file mode 100644 index 0000000..49012d8 --- /dev/null +++ b/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_1.log @@ -0,0 +1,128 @@ +Tournament Mode Game +Map File: europe.map +Game number: 1 + +Game Commnece + + +1 loadmap europe +Time: 05:05:15 +Status: SUCCESS +Description: Map loaded successfully europe + +2 showmap +Time: 05:05:15 +Status: SUCCESS +Description: User printed map europe + +4 gameplayer -add Player_1 +Time: 05:05:15 +Status: SUCCESS +Description: Players added successfully + +5 gameplayer -add Player_2 +Time: 05:05:15 +Status: SUCCESS +Description: Players added successfully + +6 N_players +Time: 05:05:15 +Status: SUCCESS +Description: Command N was executed + +8 2_strategy +Time: 05:05:15 +Status: SUCCESS +Description: User is setting the strategy + +9 4_strategy +Time: 05:05:15 +Status: SUCCESS +Description: User is setting the strategy + +10 assigncountries +Time: 05:05:15 +Status: SUCCESS +Description: Countries assigned successfully + +11 showstats +Time: 05:05:15 +Status: SUCCESS +Description: Stats shown. + +12 Deploy +Time: 05:05:15 +Status: SUCCESS +Description: Executed Deploy Attack + +13 Deploy +Time: 05:05:15 +Status: SUCCESS +Description: Executed Deploy Attack + +14 showstats +Time: 05:05:15 +Status: SUCCESS +Description: Stats shown. + +15 Deploy +Time: 05:05:15 +Status: SUCCESS +Description: Executed Deploy Attack + +16 Deploy +Time: 05:05:15 +Status: SUCCESS +Description: Executed Deploy Attack + +17 Advance +Time: 05:05:15 +Status: SUCCESS +Description: Executed Advance Attack + +18 Advance +Time: 05:05:15 +Status: SUCCESS +Description: Executed Advance Attack + +19 Advance +Time: 05:05:15 +Status: SUCCESS +Description: Executed Advance Attack + +20 showstats +Time: 05:05:15 +Status: SUCCESS +Description: Stats shown. + +21 Deploy +Time: 05:05:15 +Status: SUCCESS +Description: Executed Deploy Attack + +22 Deploy +Time: 05:05:15 +Status: SUCCESS +Description: Executed Deploy Attack + +23 Advance +Time: 05:05:15 +Status: SUCCESS +Description: Executed Advance Attack + +24 showstats +Time: 05:05:15 +Status: SUCCESS +Description: Stats shown. + + +-------------------Game Over----------------- +Player Name:Player_1 +PlayerId:1 +Player Strategy:AggressiveStrategy +Total Armies available per round: 2 +CountryID - Countries Owned - Armies +1 - England - 6 +8 - Denmark - 6 +-------------------------------Results: +Winner: Player_1 \ No newline at end of file diff --git a/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_2.log b/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_2.log new file mode 100644 index 0000000..97a3c3a --- /dev/null +++ b/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_2.log @@ -0,0 +1,128 @@ +Tournament Mode Game +Map File: europe.map +Game number: 2 + +Game Commnece + + +1 loadmap europe +Time: 05:02:55 +Status: SUCCESS +Description: Map loaded successfully europe + +2 showmap +Time: 05:02:55 +Status: SUCCESS +Description: User printed map europe + +4 gameplayer -add Player_1 +Time: 05:02:55 +Status: SUCCESS +Description: Players added successfully + +5 gameplayer -add Player_2 +Time: 05:02:55 +Status: SUCCESS +Description: Players added successfully + +6 N_players +Time: 05:02:55 +Status: SUCCESS +Description: Command N was executed + +8 4_strategy +Time: 05:02:55 +Status: SUCCESS +Description: User is setting the strategy + +9 5_strategy +Time: 05:02:55 +Status: SUCCESS +Description: User is setting the strategy + +10 assigncountries +Time: 05:02:55 +Status: SUCCESS +Description: Countries assigned successfully + +11 showstats +Time: 05:02:55 +Status: SUCCESS +Description: Stats shown. + +12 Deploy +Time: 05:02:59 +Status: SUCCESS +Description: Executed Deploy Attack + +13 showstats +Time: 05:02:59 +Status: SUCCESS +Description: Stats shown. + +14 loadmap europe +Time: 05:03:01 +Status: SUCCESS +Description: Map loaded successfully europe + +15 showmap +Time: 05:03:01 +Status: SUCCESS +Description: User printed map europe + +17 gameplayer -add Player_1 +Time: 05:03:01 +Status: SUCCESS +Description: Players added successfully + +18 gameplayer -add Player_2 +Time: 05:03:01 +Status: SUCCESS +Description: Players added successfully + +19 N_players +Time: 05:03:01 +Status: SUCCESS +Description: Command N was executed + +21 4_strategy +Time: 05:03:01 +Status: SUCCESS +Description: User is setting the strategy + +22 5_strategy +Time: 05:03:01 +Status: SUCCESS +Description: User is setting the strategy + +23 assigncountries +Time: 05:03:01 +Status: SUCCESS +Description: Countries assigned successfully + +24 showstats +Time: 05:03:01 +Status: SUCCESS +Description: Stats shown. + +25 Deploy +Time: 05:03:01 +Status: SUCCESS +Description: Executed Deploy Attack + +26 showstats +Time: 05:03:01 +Status: SUCCESS +Description: Stats shown. + + +-------------------Game Over----------------- +Player Name:Player_2 +PlayerId:2 +Player Strategy:CheaterStrategy +Total Armies available per round: 0 +CountryID - Countries Owned - Armies +8 - Denmark - 0 +1 - England - 3 +-------------------------------Results: +Winner: Player_2 \ No newline at end of file diff --git a/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_3.log b/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_3.log new file mode 100644 index 0000000..c55b7fa --- /dev/null +++ b/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_3.log @@ -0,0 +1,183 @@ +Tournament Mode Game +Map File: europe.map +Game number: 3 + +Game Commnece + + +1 loadmap europe +Time: 05:02:55 +Status: SUCCESS +Description: Map loaded successfully europe + +2 showmap +Time: 05:02:55 +Status: SUCCESS +Description: User printed map europe + +4 gameplayer -add Player_1 +Time: 05:02:55 +Status: SUCCESS +Description: Players added successfully + +5 gameplayer -add Player_2 +Time: 05:02:55 +Status: SUCCESS +Description: Players added successfully + +6 N_players +Time: 05:02:55 +Status: SUCCESS +Description: Command N was executed + +8 4_strategy +Time: 05:02:55 +Status: SUCCESS +Description: User is setting the strategy + +9 5_strategy +Time: 05:02:55 +Status: SUCCESS +Description: User is setting the strategy + +10 assigncountries +Time: 05:02:55 +Status: SUCCESS +Description: Countries assigned successfully + +11 showstats +Time: 05:02:55 +Status: SUCCESS +Description: Stats shown. + +12 Deploy +Time: 05:02:59 +Status: SUCCESS +Description: Executed Deploy Attack + +13 showstats +Time: 05:02:59 +Status: SUCCESS +Description: Stats shown. + +14 loadmap europe +Time: 05:03:01 +Status: SUCCESS +Description: Map loaded successfully europe + +15 showmap +Time: 05:03:01 +Status: SUCCESS +Description: User printed map europe + +17 gameplayer -add Player_1 +Time: 05:03:01 +Status: SUCCESS +Description: Players added successfully + +18 gameplayer -add Player_2 +Time: 05:03:01 +Status: SUCCESS +Description: Players added successfully + +19 N_players +Time: 05:03:01 +Status: SUCCESS +Description: Command N was executed + +21 4_strategy +Time: 05:03:01 +Status: SUCCESS +Description: User is setting the strategy + +22 5_strategy +Time: 05:03:01 +Status: SUCCESS +Description: User is setting the strategy + +23 assigncountries +Time: 05:03:01 +Status: SUCCESS +Description: Countries assigned successfully + +24 showstats +Time: 05:03:01 +Status: SUCCESS +Description: Stats shown. + +25 Deploy +Time: 05:03:01 +Status: SUCCESS +Description: Executed Deploy Attack + +26 showstats +Time: 05:03:01 +Status: SUCCESS +Description: Stats shown. + +27 loadmap europe +Time: 05:03:02 +Status: SUCCESS +Description: Map loaded successfully europe + +28 showmap +Time: 05:03:02 +Status: SUCCESS +Description: User printed map europe + +30 gameplayer -add Player_1 +Time: 05:03:02 +Status: SUCCESS +Description: Players added successfully + +31 gameplayer -add Player_2 +Time: 05:03:02 +Status: SUCCESS +Description: Players added successfully + +32 N_players +Time: 05:03:02 +Status: SUCCESS +Description: Command N was executed + +34 4_strategy +Time: 05:03:02 +Status: SUCCESS +Description: User is setting the strategy + +35 5_strategy +Time: 05:03:02 +Status: SUCCESS +Description: User is setting the strategy + +36 assigncountries +Time: 05:03:02 +Status: SUCCESS +Description: Countries assigned successfully + +37 showstats +Time: 05:03:02 +Status: SUCCESS +Description: Stats shown. + +38 Deploy +Time: 05:03:02 +Status: SUCCESS +Description: Executed Deploy Attack + +39 showstats +Time: 05:03:02 +Status: SUCCESS +Description: Stats shown. + + +-------------------Game Over----------------- +Player Name:Player_2 +PlayerId:2 +Player Strategy:CheaterStrategy +Total Armies available per round: 0 +CountryID - Countries Owned - Armies +8 - Denmark - 0 +1 - England - 3 +-------------------------------Results: +Winner: Player_2 \ No newline at end of file diff --git a/src/main/java/project/app/warzone/Utilities/SavedGames/roch1.log b/src/main/java/project/app/warzone/Utilities/SavedGames/roch1.log new file mode 100644 index 0000000..5a106a4 --- /dev/null +++ b/src/main/java/project/app/warzone/Utilities/SavedGames/roch1.log @@ -0,0 +1,16 @@ +loadmap europe +showmap +gameplayer -add p1,-add,p2,-add,p3 +N_players +2_strategy +1_strategy +3_strategy +assigncountries +showstats +deploy 1 3 +N +Deploy +Deploy +Deploy +showstats +deploy 8 3 diff --git a/src/main/java/project/app/warzone/Utilities/SavedGames/roch2.log b/src/main/java/project/app/warzone/Utilities/SavedGames/roch2.log new file mode 100644 index 0000000..c3ff43b --- /dev/null +++ b/src/main/java/project/app/warzone/Utilities/SavedGames/roch2.log @@ -0,0 +1,14 @@ +loadmap europe +showmap +gameplayer -add p1,-add,p2,-add,p3 +N_players +2_strategy +4_strategy +5_strategy +assigncountries +showstats +Deploy +Deploy +showstats +Deploy +showstats diff --git a/src/main/java/project/app/warzone/Utilities/SavedGames/roch3.log b/src/main/java/project/app/warzone/Utilities/SavedGames/roch3.log new file mode 100644 index 0000000..e4521ff --- /dev/null +++ b/src/main/java/project/app/warzone/Utilities/SavedGames/roch3.log @@ -0,0 +1,6 @@ +loadmap europe +showmap +gameplayer -add p1,-add,p2 +N_players +2_strategy +3_strategy diff --git a/src/main/java/project/app/warzone/Utilities/SavedGames/roch4.log b/src/main/java/project/app/warzone/Utilities/SavedGames/roch4.log new file mode 100644 index 0000000..7e6a27a --- /dev/null +++ b/src/main/java/project/app/warzone/Utilities/SavedGames/roch4.log @@ -0,0 +1,9 @@ +loadmap europe +showmap +gameplayer -add p1,-add,p2,-add,p3 +N_players +1_strategy +2_strategy +3_strategy +assigncountries +showstats diff --git a/src/main/java/project/app/warzone/gameplay.log b/src/main/java/project/app/warzone/gameplay.log index 1bc0ca1..d3e5f0b 100644 --- a/src/main/java/project/app/warzone/gameplay.log +++ b/src/main/java/project/app/warzone/gameplay.log @@ -2,181 +2,46 @@ Game Commnece 1 loadmap europe -Time: 03:34:16 +Time: 05:22:49 Status: SUCCESS Description: Map loaded successfully europe 2 showmap -Time: 03:34:16 +Time: 05:22:49 Status: SUCCESS Description: User printed map europe -4 gameplayer -add anash,-add,aish -Time: 03:34:16 +4 gameplayer -add p1,-add,p2,-add,p3 +Time: 05:22:49 Status: SUCCESS Description: Players added successfully 5 N_players -Time: 03:34:16 +Time: 05:22:49 Status: SUCCESS Description: Command N was executed 7 1_strategy -Time: 03:34:16 +Time: 05:22:49 Status: SUCCESS Description: User is setting the strategy -8 1_strategy -Time: 03:34:16 +8 2_strategy +Time: 05:22:49 Status: SUCCESS Description: User is setting the strategy -9 assigncountries -Time: 03:34:16 +9 3_strategy +Time: 05:22:49 Status: SUCCESS -Description: Countries assigned successfully - -10 showstats -Time: 03:34:16 -Status: SUCCESS -Description: Stats shown. - -11 deploy 1 3 -Time: 03:34:16 -Status: SUCCESS -Description: - -12 N -Time: 03:34:16 -Status: SUCCESS -Description: Computer is executing the command: N - -13 N -Time: 03:34:16 -Status: SUCCESS -Description: Player chose not to add ordes and proceed with the game! - -14 N -Time: 03:34:16 -Status: SUCCESS -Description: Computer is executing the command: N - -15 N -Time: 03:34:16 -Status: SUCCESS -Description: Player chose not to add ordes and proceed with the game! - -16 Deploy -Time: 03:34:16 -Status: SUCCESS -Description: Executed Deploy Attack - -17 Deploy -Time: 03:34:16 -Status: SUCCESS -Description: Executed Deploy Attack - -18 deploy 8 3 -Time: 03:34:16 -Status: SUCCESS -Description: - -19 deploy 1 3 -Time: 03:34:16 -Status: SUCCESS -Description: Armies deployed successfully. - -20 deploy 1 3 -Time: 03:34:16 -Status: SUCCESS -Description: - -21 deploy 1 3 -Time: 03:34:16 -Status: FAILURE -Description: User tried to deploy armies more than the remaining reinforcement pool. - -22 deploy 1 3 -Time: 03:34:16 -Status: SUCCESS -Description: - -23 deploy 8 3 -Time: 03:34:16 -Status: FAILURE -Description: User tried to deploy armies more than the remaining reinforcement pool. - -24 deploy 8 3 -Time: 03:34:16 -Status: SUCCESS -Description: - -25 deploy 8 2 -Time: 03:34:16 -Status: SUCCESS -Description: - -26 N -Time: 03:34:16 -Status: SUCCESS -Description: Computer is executing the command: N - -27 N -Time: 03:34:16 -Status: SUCCESS -Description: Player chose not to add ordes and proceed with the game! - -28 advance 1 8 3 -Time: 03:34:16 -Status: SUCCESS -Description: - -29 deploy 1 11 -Time: 03:34:16 -Status: FAILURE -Description: User tried to deploy armies more than the remaining reinforcement pool. - -30 deploy 1 11 -Time: 03:34:16 -Status: SUCCESS -Description: - -31 N -Time: 03:34:16 -Status: SUCCESS -Description: Computer is executing the command: N - -32 N -Time: 03:34:16 -Status: SUCCESS -Description: Player chose not to add ordes and proceed with the game! - -33 Deploy -Time: 03:34:16 -Status: SUCCESS -Description: Executed Deploy Attack - -34 Deploy -Time: 03:34:16 -Status: SUCCESS -Description: Executed Deploy Attack - -35 Advance -Time: 03:34:16 -Status: SUCCESS -Description: Executed Advance Attack - -36 Deploy -Time: 03:34:16 -Status: SUCCESS -Description: Executed Deploy Attack +Description: User is setting the strategy -37 deploy 1 9 -Time: 03:34:16 +10 assigncountries +Time: 05:22:49 Status: SUCCESS -Description: +Description: Countries assigned successfully -38 showstats -Time: 03:34:24 +11 showstats +Time: 05:22:49 Status: SUCCESS Description: Stats shown. diff --git a/src/test/java/project/app/warzone/Features/PlayerFeaturesTest.java b/src/test/java/project/app/warzone/Features/PlayerFeaturesTest.java index 93be8d2..36c417b 100644 --- a/src/test/java/project/app/warzone/Features/PlayerFeaturesTest.java +++ b/src/test/java/project/app/warzone/Features/PlayerFeaturesTest.java @@ -1,10 +1,15 @@ package project.app.warzone.Features; import project.app.warzone.Model.AttackOrder; +import project.app.warzone.Model.ConcreteAdvance; +import project.app.warzone.Model.ConcreteBomb; +import project.app.warzone.Model.ConcreteDeploy; import project.app.warzone.Model.Country; +import project.app.warzone.Model.End; import project.app.warzone.Model.GameEngine; import project.app.warzone.Model.HumanStrategy; import project.app.warzone.Model.Map; +import project.app.warzone.Model.Phase; import project.app.warzone.Model.Player; import project.app.warzone.Utilities.MapResources; @@ -118,10 +123,10 @@ public void testAssignCountries() { @Test public void testInitialReinforcement() { - d_playerFeatures.assignCountries(d_gameEngine); + d_playerFeatures.assignCountriesForDemo(d_gameEngine); for (Player l_player : d_gameEngine.d_playersList) { - assertNotNull(l_player.d_reinforcementPool); + assertNotNull(l_player.getReinforcementArmies()); assertEquals(3, l_player.d_reinforcementPool); } } @@ -240,57 +245,60 @@ public void testWinnerByDefeatingPlayers() { } @Test - public void testWinnerByAcquiringAllCountries() { + public void testRemovingLooserFromList() { - d_playerFeatures.assignCountries(d_gameEngine); + d_playerFeatures.assignCountriesForDemo(d_gameEngine); - d_gameEngine.d_playersList.get(0).d_listOfCountriesOwned.clear(); - d_gameEngine.d_playersList.get(1).d_listOfCountriesOwned.clear(); - d_gameEngine.d_playersList.get(2).d_listOfCountriesOwned.clear(); - d_gameEngine.checkPlayersReinforcements(); - String l_resultWinner = "Player " + d_gameEngine.d_playersList.get(0).getL_playername() + " has won the game"; + ConcreteDeploy concreteDeploy1 = new ConcreteDeploy(10,d_gameEngine.d_playersList.get(0).getListOfTerritories().get(0)); + d_gameEngine.d_playersList.get(0).d_listOfOrders.add(concreteDeploy1); - d_gameEngine.checkPlayersReinforcements(); - String l_expectedWinner = "Player anash has won the game"; + ConcreteDeploy concreteDeplo2 = new ConcreteDeploy(1,d_gameEngine.d_playersList.get(1).getListOfTerritories().get(0)); + d_gameEngine.d_playersList.get(1).d_listOfOrders.add(concreteDeplo2); - if (d_gameEngine.d_playersList.contains("anash")) { - l_expectedWinner = "Player " + d_gameEngine.d_playersList.get(0).getL_playername() + " has won the game"; + d_gameEngine.execute_orders(); - } - assertEquals(l_expectedWinner, l_resultWinner); + ConcreteAdvance concreteAdvance = new ConcreteAdvance(d_gameEngine.d_playersList.get(0),d_gameEngine.d_playersList.get(1),9,d_gameEngine.d_playersList.get(0).getListOfTerritories().get(0),d_gameEngine.d_playersList.get(1).getListOfTerritories().get(0)); + d_gameEngine.d_playersList.get(0).d_listOfOrders.add(concreteAdvance); + + + + + // d_gameEngine.checkPlayersReinforcements(); + + d_gameEngine.execute_orders(); + + + assertEquals(3, d_gameEngine.d_playersList.size()); // The losing player is removed from the players list } @Test - public void testRemovingLooserFromList() { + public void testGameEndsWhenOnlyOnePlayer() { - d_playerFeatures.assignCountries(d_gameEngine); + d_playerFeatures.assignCountriesForDemo(d_gameEngine); - d_gameEngine.d_playersList.get(0).d_listOfCountriesOwned.clear(); - d_gameEngine.d_playersList.get(1).d_listOfCountriesOwned.clear(); + List playerToRemove = new ArrayList<>(); - d_gameEngine.checkPlayersReinforcements(); + for(Player p : d_gameEngine.d_playersList){ + if(p.getL_playerid() != 1){ + playerToRemove.add(p); + } + } - List l_testPlayerList = new ArrayList<>(); - l_testPlayerList.add(new Player(2, "aishwarya")); - l_testPlayerList.add(new Player(3, "anash")); + d_gameEngine.d_playersList.removeAll(playerToRemove); - List l_expectedPlayers = new ArrayList<>(); + d_gameEngine.d_playersList.get(0).pendingOrder = false; - for (Player player : l_testPlayerList) { - l_expectedPlayers.add(player.d_playername); - } + d_gameEngine.d_playersList.get(0).setReinforcementMap(0); - List l_actualPlayers = new ArrayList<>(); + d_gameEngine.checkPlayersReinforcements(); - for (Player l_player : d_gameEngine.d_playersList) { - l_actualPlayers.add(l_player.d_playername); - } + Phase p = d_gameEngine.getGamePhase(); - assertEquals(l_expectedPlayers, l_actualPlayers); + assertEquals(p.getClass().getSimpleName(),"End"); } @@ -307,4 +315,4 @@ public void testCheckLooserInList() { } -} +} \ No newline at end of file From a7966f3c68e8532778aecac61e130c9686b99c6b Mon Sep 17 00:00:00 2001 From: ro18 Date: Thu, 30 Nov 2023 23:03:01 -0500 Subject: [PATCH 2/2] final changes --- spring-shell.log | 62 + .../app/warzone/Commands/PlayerCommands.java | 4 +- .../app/warzone/Features/PlayerFeatures.java | 4 +- .../project/app/warzone/Model/GameEngine.java | 15 +- .../Tournament/tournament_Montreal_1.log | 803 ++++++++--- .../Tournament/tournament_Montreal_2.log | 1190 ++++++++++++--- .../Tournament/tournament_Montreal_3.log | 758 ---------- .../Tournament/tournament_europe_1.log | 451 +++++- .../Tournament/tournament_europe_2.log | 591 +++++++- .../Tournament/tournament_europe_3.log | 183 --- .../warzone/Utilities/SavedGames/rochNew.log | 7 + .../warzone/Utilities/SavedGames/rochdemo.log | 8 + .../warzone/Utilities/SavedGames/rocht.log | 10 + .../java/project/app/warzone/gameplay.log | 1280 ++++++++++++++++- .../app/warzone/Features/CardTest.java | 2 +- .../warzone/Features/PlayerFeaturesTest.java | 75 +- .../project/app/warzone/JunitTestSuite.java | 6 +- 17 files changed, 3916 insertions(+), 1533 deletions(-) delete mode 100644 src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_3.log delete mode 100644 src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_3.log create mode 100644 src/main/java/project/app/warzone/Utilities/SavedGames/rochNew.log create mode 100644 src/main/java/project/app/warzone/Utilities/SavedGames/rochdemo.log create mode 100644 src/main/java/project/app/warzone/Utilities/SavedGames/rocht.log diff --git a/spring-shell.log b/spring-shell.log index 40a8385..dc6619b 100644 --- a/spring-shell.log +++ b/spring-shell.log @@ -2879,3 +2879,65 @@ 1701382921364:assigncountries 1701382926781:savegame roch4 1701382969100:loadgame roch4 +1701383459706:loadmap euroep +1701383466397:loadmap europe +1701383467667:showmap +1701383485016:gameplayer -add p1 -add p2 -add p3 +1701383499568:N +1701383505486:4 +1701383515051:savegame rochNew +1701383539356:loadgame rochNew +1701383578647:loadmap europe +1701383585457:showmap +1701383594453:gameplayer -add p1 -add p2 -add p3 -add p4 +1701383596727:N +1701383605288:assigncountries +1701383611597:savegame +1701383618069:savegame rocht +1701383642770:loadgame rocht +1701383697535:loadmap euroep +1701383700843:loadmap europe +1701383705288:showmap +1701383837977:gameplayer -add p1 -add p2 -add p3 -add p4 +1701383839530:N +1701383947197:assigncountries +1701384149892:tournament -M europe Montreal -P 2 4 -G 2 -D 20 +1701384163086:stacktrace +1701384281996:tournament -M europe Montreal -P 2 4 -G 2 -D 20 +1701384390756:tournament -M europe Montreal -P 2 3 4 -G 2 -D 20 +1701384434229:loadmap europe +1701384437318:showmap +1701384449406:gameplayer -add p1 -add p2 -add p3 +1701384450849:N +1701384463576:assigncountries +1701384470292:deploy 1 3 +1701384481780:N +1701384488173:showstats +1701384500686:deploy 1 6 +1701384617744:N +1701385872822:tournament - M europe Montreal -P 2 4 -G 2 -D 20 +1701385885151:tournament -M europe Montreal -P 2 4 -G 2 -D 20 +1701386320896:loadmap Montreal +1701386323794:showmap +1701386356759:loadmap europe +1701386358866:showmap +1701386386824:gameplayer -add p1 -add p2 -add p3 +1701386390377:N +1701386418496:assigncountries +1701386484901:loadmap europe +1701386486062:showmap +1701386495019:gameplayer -add p1 -add p2 +1701386496756:N +1701386509662:assigncountries +1701386528644:savegame +1701386534672:savegame rochdemo +1701386578692:loadgame rochdemo +1701386598763:deploy 1 3 +1701386610897:N +1701386615435:showstats +1701386630520:deploy 1 6 +1701386640813:Y +1701386651234:advance 1 6 3 +1701386654323:N +1701386657040:showstats +1701386734121:tournament -M europe Montreal -P 2 4 -G 2 -D 20 diff --git a/src/main/java/project/app/warzone/Commands/PlayerCommands.java b/src/main/java/project/app/warzone/Commands/PlayerCommands.java index 91c27ee..512a0e9 100644 --- a/src/main/java/project/app/warzone/Commands/PlayerCommands.java +++ b/src/main/java/project/app/warzone/Commands/PlayerCommands.java @@ -121,7 +121,7 @@ public void assigncountries() { // d_gameEngine.getGamePhase().assignCountries(); if(d_gameEngine.getPlayers().size() >1){ //d_gameEngine.getGamePhase().assignCountriesForDemo(); // Added to demonstrate different attacks during presentation - d_gameEngine.getGamePhase().assignCountries(); + d_gameEngine.getGamePhase().assignCountriesForDemo(); showStats(); d_gameEngine.checkPlayersReinforcements(); @@ -580,7 +580,7 @@ public void tournament(@ShellOption(value = "M", defaultValue = ShellOption.NULL for(int k = 0; k < (p_playerStrategies.split(",").length); k++){ UserCommands.pushCommand(p_playerStrategies.split(",")[k], "strategy"); if(k != 0) { - if(k <= p_playerStrategies.split(",").length - 1){ + if(k == p_playerStrategies.split(",").length - 1){ UserCommands.pushCommand("N", "playerAdd"); } else { UserCommands.pushCommand("Y", "playerAdd"); diff --git a/src/main/java/project/app/warzone/Features/PlayerFeatures.java b/src/main/java/project/app/warzone/Features/PlayerFeatures.java index 8cd6ce1..7e9d047 100644 --- a/src/main/java/project/app/warzone/Features/PlayerFeatures.java +++ b/src/main/java/project/app/warzone/Features/PlayerFeatures.java @@ -76,7 +76,7 @@ public void assignCountries(GameEngine p_gameEngine) { for (Player l_player : p_gameEngine.getPlayers()) { // logic to have players -1 country - int randomCountry = l_random.nextInt(p_gameEngine.gameMap.getNodes().size()); + int randomCountry = l_random.nextInt(p_gameEngine.gameMap.getNodes().size()-1); // int randomId = l_random.nextInt(p_gameEngine.getPlayers().size()+1); @@ -148,7 +148,7 @@ public void setPlayerStrategy(GameEngine p_gameEngine){ System.out.println("Current Player: "+l_p.d_playername); String input =""; - System.out.println("Strategy: "+ UserCommands.checkSize("strategy")); + // System.out.println("Strategy: "+ UserCommands.checkSize("strategy")); if(UserCommands.checkSize("strategy")>0){ input = UserCommands.popCommand("strategy"); diff --git a/src/main/java/project/app/warzone/Model/GameEngine.java b/src/main/java/project/app/warzone/Model/GameEngine.java index 7ee7ed3..2ce720d 100644 --- a/src/main/java/project/app/warzone/Model/GameEngine.java +++ b/src/main/java/project/app/warzone/Model/GameEngine.java @@ -160,23 +160,10 @@ public String checkPlayersReinforcements(){ int l_i = PlayerCommands.d_CurrentPlayerId; List l_players = getPlayers(); - // List l_playersToRemove = new ArrayList<>(); - - // for(Player p : l_players ){ - // if(p.getListOfTerritories().size() == 0 ){ - // System.out.println("Player: "+p.getL_playername()+" has lost the game"); - // l_playersToRemove.add(p); - - // } - // } - - - // l_players.removeAll(l_playersToRemove); - + int l_iterateThroughAllPlayers = 0; if( getGamePhase().getClass().getSimpleName() != new End(this).getClass().getSimpleName()){ - // while (l_i != PlayerCommands.d_CurrentPlayerId) { while (true) { if(l_iterateThroughAllPlayers == 2){ diff --git a/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_1.log b/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_1.log index a856bf4..011d8ac 100644 --- a/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_1.log +++ b/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_1.log @@ -6,602 +6,957 @@ Game Commnece 1 loadmap europe -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Map loaded successfully europe 2 showmap -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: User printed map europe 4 gameplayer -add Player_1 -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Players added successfully 5 gameplayer -add Player_2 -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Players added successfully 6 N_players -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Command N was executed 8 2_strategy -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: User is setting the strategy 9 4_strategy -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: User is setting the strategy 10 assigncountries -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Countries assigned successfully 11 showstats -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Stats shown. 12 Deploy -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack 13 Deploy -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack 14 showstats -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Stats shown. 15 Deploy -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack 16 Deploy -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack 17 Advance -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Executed Advance Attack 18 Advance -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Executed Advance Attack 19 Advance -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Executed Advance Attack 20 showstats -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Stats shown. 21 Deploy -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack 22 Deploy -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack 23 Advance -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Executed Advance Attack 24 showstats -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Stats shown. -25 loadmap Montreal -Time: 05:05:19 +25 Deploy +Time: 06:25:34 Status: SUCCESS -Description: Map loaded successfully Montreal +Description: Executed Deploy Attack -27 gameplayer -add Player_1 -Time: 05:05:19 +26 Deploy +Time: 06:25:34 Status: SUCCESS -Description: Players added successfully +Description: Executed Deploy Attack -28 gameplayer -add Player_2 -Time: 05:05:19 +27 Advance +Time: 06:25:34 Status: SUCCESS -Description: Players added successfully +Description: Executed Advance Attack -29 N_players -Time: 05:05:19 +28 Advance +Time: 06:25:34 Status: SUCCESS -Description: Command N was executed +Description: Executed Advance Attack -31 2_strategy -Time: 05:05:19 +29 showstats +Time: 06:25:34 Status: SUCCESS -Description: User is setting the strategy +Description: Stats shown. -32 4_strategy -Time: 05:05:19 +30 Deploy +Time: 06:25:34 Status: SUCCESS -Description: User is setting the strategy +Description: Executed Deploy Attack -33 assigncountries -Time: 05:05:19 +31 Deploy +Time: 06:25:34 Status: SUCCESS -Description: Countries assigned successfully +Description: Executed Deploy Attack + +32 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +33 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack 34 showstats -Time: 05:05:19 +Time: 06:25:34 Status: SUCCESS Description: Stats shown. 35 Deploy -Time: 05:05:19 +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack 36 Deploy -Time: 05:05:19 +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -37 showstats -Time: 05:05:19 +37 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +38 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +39 showstats +Time: 06:25:34 Status: SUCCESS Description: Stats shown. -38 Deploy -Time: 05:05:19 +40 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -39 Deploy -Time: 05:05:19 +41 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -40 showstats -Time: 05:05:19 +42 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +43 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +44 showstats +Time: 06:25:34 Status: SUCCESS Description: Stats shown. -41 Deploy -Time: 05:05:19 +45 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -42 Deploy -Time: 05:05:19 +46 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -43 showstats -Time: 05:05:19 +47 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +48 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +49 showstats +Time: 06:25:34 Status: SUCCESS Description: Stats shown. -44 Deploy -Time: 05:05:19 +50 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -45 Deploy -Time: 05:05:19 +51 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -46 showstats -Time: 05:05:19 +52 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +53 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +54 showstats +Time: 06:25:34 Status: SUCCESS Description: Stats shown. -47 Deploy -Time: 05:05:19 +55 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -48 Deploy -Time: 05:05:19 +56 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -49 showstats -Time: 05:05:19 +57 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +58 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +59 showstats +Time: 06:25:34 Status: SUCCESS Description: Stats shown. -50 Deploy -Time: 05:05:19 +60 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -51 Deploy -Time: 05:05:19 +61 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -52 showstats -Time: 05:05:19 +62 showstats +Time: 06:25:34 Status: SUCCESS Description: Stats shown. -53 Deploy -Time: 05:05:19 +63 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -54 Deploy -Time: 05:05:19 +64 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -55 showstats -Time: 05:05:19 +65 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +66 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +67 showstats +Time: 06:25:34 Status: SUCCESS Description: Stats shown. -56 Deploy -Time: 05:05:19 +68 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -57 Deploy -Time: 05:05:19 +69 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -58 showstats -Time: 05:05:19 +70 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +71 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +72 showstats +Time: 06:25:34 Status: SUCCESS Description: Stats shown. -59 Deploy -Time: 05:05:19 +73 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -60 Deploy -Time: 05:05:19 +74 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -61 showstats -Time: 05:05:19 +75 showstats +Time: 06:25:34 Status: SUCCESS Description: Stats shown. -62 Deploy -Time: 05:05:19 +76 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -63 Deploy -Time: 05:05:19 +77 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -64 showstats -Time: 05:05:19 +78 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +79 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +80 showstats +Time: 06:25:34 Status: SUCCESS Description: Stats shown. -65 Deploy -Time: 05:05:19 +81 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -66 Deploy -Time: 05:05:19 +82 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -67 showstats -Time: 05:05:19 +83 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +84 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +85 showstats +Time: 06:25:34 Status: SUCCESS Description: Stats shown. -68 Deploy -Time: 05:05:19 +86 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -69 Deploy -Time: 05:05:19 +87 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -70 showstats -Time: 05:05:19 +88 showstats +Time: 06:25:34 Status: SUCCESS Description: Stats shown. -71 Deploy -Time: 05:05:19 +89 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -72 Deploy -Time: 05:05:19 +90 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -73 showstats -Time: 05:05:19 +91 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +92 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +93 showstats +Time: 06:25:34 Status: SUCCESS Description: Stats shown. -74 Deploy -Time: 05:05:19 +94 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -75 Deploy -Time: 05:05:19 +95 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -76 showstats -Time: 05:05:19 +96 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +97 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +98 showstats +Time: 06:25:34 Status: SUCCESS Description: Stats shown. -77 Deploy -Time: 05:05:19 +99 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -78 Deploy -Time: 05:05:19 +100 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -79 showstats -Time: 05:05:19 +101 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +102 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +103 showstats +Time: 06:25:34 Status: SUCCESS Description: Stats shown. -80 Deploy -Time: 05:05:19 +104 loadmap europe +Time: 06:25:37 +Status: SUCCESS +Description: Map loaded successfully europe + +105 showmap +Time: 06:25:37 +Status: SUCCESS +Description: User printed map europe + +107 gameplayer -add Player_1 +Time: 06:25:37 +Status: SUCCESS +Description: Players added successfully + +108 gameplayer -add Player_2 +Time: 06:25:37 +Status: SUCCESS +Description: Players added successfully + +109 N_players +Time: 06:25:37 +Status: SUCCESS +Description: Command N was executed + +111 2_strategy +Time: 06:25:37 +Status: SUCCESS +Description: User is setting the strategy + +112 4_strategy +Time: 06:25:37 +Status: SUCCESS +Description: User is setting the strategy + +113 assigncountries +Time: 06:25:37 +Status: SUCCESS +Description: Countries assigned successfully + +114 showstats +Time: 06:25:37 +Status: SUCCESS +Description: Stats shown. + +115 Deploy +Time: 06:25:37 Status: SUCCESS Description: Executed Deploy Attack -81 Deploy -Time: 05:05:19 +116 Deploy +Time: 06:25:37 Status: SUCCESS Description: Executed Deploy Attack -82 showstats -Time: 05:05:19 +117 showstats +Time: 06:25:37 Status: SUCCESS Description: Stats shown. -83 Deploy -Time: 05:05:19 +118 Deploy +Time: 06:25:37 Status: SUCCESS Description: Executed Deploy Attack -84 Deploy -Time: 05:05:19 +119 Deploy +Time: 06:25:37 Status: SUCCESS Description: Executed Deploy Attack -85 showstats -Time: 05:05:19 +120 Advance +Time: 06:25:37 +Status: SUCCESS +Description: Executed Advance Attack + +121 Advance +Time: 06:25:37 +Status: SUCCESS +Description: Executed Advance Attack + +122 Advance +Time: 06:25:37 +Status: SUCCESS +Description: Executed Advance Attack + +123 showstats +Time: 06:25:37 Status: SUCCESS Description: Stats shown. -86 Deploy -Time: 05:05:19 +124 Deploy +Time: 06:25:37 Status: SUCCESS Description: Executed Deploy Attack -87 Deploy -Time: 05:05:19 +125 Deploy +Time: 06:25:37 Status: SUCCESS Description: Executed Deploy Attack -88 showstats -Time: 05:05:19 +126 Advance +Time: 06:25:37 +Status: SUCCESS +Description: Executed Advance Attack + +127 showstats +Time: 06:25:37 Status: SUCCESS Description: Stats shown. -89 Deploy -Time: 05:05:19 +128 loadmap Montreal +Time: 06:25:37 +Status: SUCCESS +Description: Map loaded successfully Montreal + +130 gameplayer -add Player_1 +Time: 06:25:37 +Status: SUCCESS +Description: Players added successfully + +131 gameplayer -add Player_2 +Time: 06:25:37 +Status: SUCCESS +Description: Players added successfully + +132 N_players +Time: 06:25:37 +Status: SUCCESS +Description: Command N was executed + +134 2_strategy +Time: 06:25:37 +Status: SUCCESS +Description: User is setting the strategy + +135 4_strategy +Time: 06:25:37 +Status: SUCCESS +Description: User is setting the strategy + +136 assigncountries +Time: 06:25:37 +Status: SUCCESS +Description: Countries assigned successfully + +137 showstats +Time: 06:25:37 +Status: SUCCESS +Description: Stats shown. + +138 Deploy +Time: 06:25:37 Status: SUCCESS Description: Executed Deploy Attack -90 Deploy -Time: 05:05:19 +139 Deploy +Time: 06:25:37 Status: SUCCESS Description: Executed Deploy Attack -91 showstats -Time: 05:05:19 +140 showstats +Time: 06:25:37 Status: SUCCESS Description: Stats shown. -92 Deploy -Time: 05:05:19 +141 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -93 Deploy -Time: 05:05:19 +142 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -94 showstats -Time: 05:05:19 +143 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -95 Deploy -Time: 05:05:19 +144 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -96 Deploy -Time: 05:05:19 +145 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -97 showstats -Time: 05:05:19 +146 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -98 Deploy -Time: 05:05:19 +147 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -99 Deploy -Time: 05:05:19 +148 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -100 showstats -Time: 05:05:19 +149 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -101 Deploy -Time: 05:05:19 +150 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -102 Deploy -Time: 05:05:19 +151 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -103 showstats -Time: 05:05:19 +152 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -104 Deploy -Time: 05:05:19 +153 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -105 Deploy -Time: 05:05:19 +154 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -106 showstats -Time: 05:05:19 +155 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -107 Deploy -Time: 05:05:19 +156 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -108 Deploy -Time: 05:05:19 +157 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -109 showstats -Time: 05:05:19 +158 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -110 Deploy -Time: 05:05:19 +159 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -111 Deploy -Time: 05:05:19 +160 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -112 showstats -Time: 05:05:19 +161 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -113 Deploy -Time: 05:05:19 +162 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -114 Deploy -Time: 05:05:19 +163 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -115 showstats -Time: 05:05:19 +164 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -116 Deploy -Time: 05:05:19 +165 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -117 Deploy -Time: 05:05:19 +166 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -118 showstats -Time: 05:05:19 +167 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -119 Deploy -Time: 05:05:19 +168 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +169 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +170 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +171 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +172 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +173 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +174 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +175 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +176 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +177 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +178 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +179 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +180 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +181 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +182 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +183 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +184 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +185 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +186 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +187 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +188 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +189 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +190 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +191 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +192 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -120 Deploy -Time: 05:05:19 +193 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -121 showstats -Time: 05:05:19 +194 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -122 Deploy -Time: 05:05:19 +195 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -123 Deploy -Time: 05:05:19 +196 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -124 showstats -Time: 05:05:19 +197 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. @@ -612,12 +967,12 @@ PlayerId:1 Player Strategy:AggressiveStrategy Total Armies available per round: 6 CountryID - Countries Owned - Armies -0 - RDP-PAT - 177 +0 - RDP-PAT - 117 -------------------------------Player Name:Player_2 PlayerId:2 Player Strategy:RandomStrategy Total Armies available per round: 2 CountryID - Countries Owned - Armies -7 - Rosemont - 61 +7 - Rosemont - 41 -------------------------------Results: Draw \ No newline at end of file diff --git a/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_2.log b/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_2.log index 970ab5d..d7cb62b 100644 --- a/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_2.log +++ b/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_2.log @@ -6,547 +6,1297 @@ Game Commnece 1 loadmap europe -Time: 05:02:55 +Time: 06:25:34 Status: SUCCESS Description: Map loaded successfully europe 2 showmap -Time: 05:02:55 +Time: 06:25:34 Status: SUCCESS Description: User printed map europe 4 gameplayer -add Player_1 -Time: 05:02:55 +Time: 06:25:34 Status: SUCCESS Description: Players added successfully 5 gameplayer -add Player_2 -Time: 05:02:55 +Time: 06:25:34 Status: SUCCESS Description: Players added successfully 6 N_players -Time: 05:02:55 +Time: 06:25:34 Status: SUCCESS Description: Command N was executed -8 4_strategy -Time: 05:02:55 +8 2_strategy +Time: 06:25:34 Status: SUCCESS Description: User is setting the strategy -9 5_strategy -Time: 05:02:55 +9 4_strategy +Time: 06:25:34 Status: SUCCESS Description: User is setting the strategy 10 assigncountries -Time: 05:02:55 +Time: 06:25:34 Status: SUCCESS Description: Countries assigned successfully 11 showstats -Time: 05:02:55 +Time: 06:25:34 Status: SUCCESS Description: Stats shown. 12 Deploy -Time: 05:02:59 +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -13 showstats -Time: 05:02:59 +13 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +14 showstats +Time: 06:25:34 Status: SUCCESS Description: Stats shown. -14 loadmap europe -Time: 05:03:01 +15 Deploy +Time: 06:25:34 Status: SUCCESS -Description: Map loaded successfully europe +Description: Executed Deploy Attack -15 showmap -Time: 05:03:01 +16 Deploy +Time: 06:25:34 Status: SUCCESS -Description: User printed map europe +Description: Executed Deploy Attack -17 gameplayer -add Player_1 -Time: 05:03:01 +17 Advance +Time: 06:25:34 Status: SUCCESS -Description: Players added successfully +Description: Executed Advance Attack -18 gameplayer -add Player_2 -Time: 05:03:01 +18 Advance +Time: 06:25:34 Status: SUCCESS -Description: Players added successfully +Description: Executed Advance Attack -19 N_players -Time: 05:03:01 +19 Advance +Time: 06:25:34 Status: SUCCESS -Description: Command N was executed +Description: Executed Advance Attack -21 4_strategy -Time: 05:03:01 +20 showstats +Time: 06:25:34 Status: SUCCESS -Description: User is setting the strategy +Description: Stats shown. -22 5_strategy -Time: 05:03:01 +21 Deploy +Time: 06:25:34 Status: SUCCESS -Description: User is setting the strategy +Description: Executed Deploy Attack -23 assigncountries -Time: 05:03:01 +22 Deploy +Time: 06:25:34 Status: SUCCESS -Description: Countries assigned successfully +Description: Executed Deploy Attack + +23 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack 24 showstats -Time: 05:03:01 +Time: 06:25:34 Status: SUCCESS Description: Stats shown. 25 Deploy -Time: 05:03:01 +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +26 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +27 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +28 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +29 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +30 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +31 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +32 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +33 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +34 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +35 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +36 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +37 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +38 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +39 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +40 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +41 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +42 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +43 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +44 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +45 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +46 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +47 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +48 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +49 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +50 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +51 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +52 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +53 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +54 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +55 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +56 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +57 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +58 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +59 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +60 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +61 Deploy +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -26 showstats -Time: 05:03:01 +62 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +63 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +64 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +65 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +66 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +67 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +68 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +69 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +70 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +71 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +72 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +73 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +74 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +75 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +76 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +77 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +78 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +79 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +80 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +81 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +82 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +83 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +84 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +85 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +86 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +87 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +88 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +89 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +90 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +91 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +92 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +93 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +94 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +95 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +96 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +97 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +98 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +99 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +100 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +101 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +102 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +103 showstats +Time: 06:25:34 Status: SUCCESS Description: Stats shown. -27 loadmap europe -Time: 05:03:02 +104 loadmap europe +Time: 06:25:37 Status: SUCCESS Description: Map loaded successfully europe -28 showmap -Time: 05:03:02 +105 showmap +Time: 06:25:37 Status: SUCCESS Description: User printed map europe -30 gameplayer -add Player_1 -Time: 05:03:02 +107 gameplayer -add Player_1 +Time: 06:25:37 Status: SUCCESS Description: Players added successfully -31 gameplayer -add Player_2 -Time: 05:03:02 +108 gameplayer -add Player_2 +Time: 06:25:37 Status: SUCCESS Description: Players added successfully -32 N_players -Time: 05:03:02 +109 N_players +Time: 06:25:37 Status: SUCCESS Description: Command N was executed -34 4_strategy -Time: 05:03:02 +111 2_strategy +Time: 06:25:37 Status: SUCCESS Description: User is setting the strategy -35 5_strategy -Time: 05:03:02 +112 4_strategy +Time: 06:25:37 Status: SUCCESS Description: User is setting the strategy -36 assigncountries -Time: 05:03:02 +113 assigncountries +Time: 06:25:37 Status: SUCCESS Description: Countries assigned successfully -37 showstats -Time: 05:03:02 +114 showstats +Time: 06:25:37 Status: SUCCESS Description: Stats shown. -38 Deploy -Time: 05:03:02 +115 Deploy +Time: 06:25:37 Status: SUCCESS Description: Executed Deploy Attack -39 showstats -Time: 05:03:02 +116 Deploy +Time: 06:25:37 +Status: SUCCESS +Description: Executed Deploy Attack + +117 showstats +Time: 06:25:37 +Status: SUCCESS +Description: Stats shown. + +118 Deploy +Time: 06:25:37 +Status: SUCCESS +Description: Executed Deploy Attack + +119 Deploy +Time: 06:25:37 +Status: SUCCESS +Description: Executed Deploy Attack + +120 Advance +Time: 06:25:37 +Status: SUCCESS +Description: Executed Advance Attack + +121 Advance +Time: 06:25:37 +Status: SUCCESS +Description: Executed Advance Attack + +122 Advance +Time: 06:25:37 +Status: SUCCESS +Description: Executed Advance Attack + +123 showstats +Time: 06:25:37 Status: SUCCESS Description: Stats shown. -40 loadmap Montreal -Time: 05:03:02 +124 Deploy +Time: 06:25:37 +Status: SUCCESS +Description: Executed Deploy Attack + +125 Deploy +Time: 06:25:37 +Status: SUCCESS +Description: Executed Deploy Attack + +126 Advance +Time: 06:25:37 +Status: SUCCESS +Description: Executed Advance Attack + +127 showstats +Time: 06:25:37 +Status: SUCCESS +Description: Stats shown. + +128 loadmap Montreal +Time: 06:25:37 Status: SUCCESS Description: Map loaded successfully Montreal -42 gameplayer -add Player_1 -Time: 05:03:03 +130 gameplayer -add Player_1 +Time: 06:25:37 Status: SUCCESS Description: Players added successfully -43 gameplayer -add Player_2 -Time: 05:03:03 +131 gameplayer -add Player_2 +Time: 06:25:37 Status: SUCCESS Description: Players added successfully -44 N_players -Time: 05:03:03 +132 N_players +Time: 06:25:37 Status: SUCCESS Description: Command N was executed -46 4_strategy -Time: 05:03:03 +134 2_strategy +Time: 06:25:37 Status: SUCCESS Description: User is setting the strategy -47 5_strategy -Time: 05:03:03 +135 4_strategy +Time: 06:25:37 Status: SUCCESS Description: User is setting the strategy -48 assigncountries -Time: 05:03:03 +136 assigncountries +Time: 06:25:37 Status: SUCCESS Description: Countries assigned successfully -49 showstats -Time: 05:03:03 +137 showstats +Time: 06:25:37 Status: SUCCESS Description: Stats shown. -50 Deploy -Time: 05:03:03 +138 Deploy +Time: 06:25:37 Status: SUCCESS Description: Executed Deploy Attack -51 showstats -Time: 05:03:03 +139 Deploy +Time: 06:25:37 +Status: SUCCESS +Description: Executed Deploy Attack + +140 showstats +Time: 06:25:37 Status: SUCCESS Description: Stats shown. -52 Deploy -Time: 05:03:03 +141 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -53 showstats -Time: 05:03:03 +142 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +143 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -54 Deploy -Time: 05:03:03 +144 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -55 showstats -Time: 05:03:03 +145 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +146 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -56 Deploy -Time: 05:03:03 +147 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -57 showstats -Time: 05:03:03 +148 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +149 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -58 Deploy -Time: 05:03:03 +150 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -59 showstats -Time: 05:03:03 +151 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +152 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -60 Deploy -Time: 05:03:03 +153 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +154 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +155 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +156 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +157 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -61 showstats -Time: 05:03:03 +158 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -62 Deploy -Time: 05:03:03 +159 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -63 showstats -Time: 05:03:03 +160 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +161 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -64 Deploy -Time: 05:03:03 +162 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +163 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -65 showstats -Time: 05:03:03 +164 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -66 Deploy -Time: 05:03:03 +165 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -67 showstats -Time: 05:03:03 +166 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +167 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -68 Deploy -Time: 05:03:03 +168 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +169 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -69 showstats -Time: 05:03:03 +170 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -70 Deploy -Time: 05:03:03 +171 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -71 showstats -Time: 05:03:03 +172 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +173 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -72 Deploy -Time: 05:03:03 +174 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -73 showstats -Time: 05:03:03 +175 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +176 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -74 Deploy -Time: 05:03:03 +177 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -75 showstats -Time: 05:03:03 +178 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +179 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -76 Deploy -Time: 05:03:03 +180 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +181 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +182 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +183 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +184 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +185 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +186 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +187 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +188 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +189 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +190 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +191 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +192 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +193 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -77 showstats -Time: 05:03:03 +194 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -78 Deploy -Time: 05:03:03 +195 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -79 showstats -Time: 05:03:03 +196 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +197 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -80 loadmap Montreal -Time: 05:03:03 +198 loadmap Montreal +Time: 06:25:38 Status: SUCCESS Description: Map loaded successfully Montreal -82 gameplayer -add Player_1 -Time: 05:03:03 +200 gameplayer -add Player_1 +Time: 06:25:38 Status: SUCCESS Description: Players added successfully -83 gameplayer -add Player_2 -Time: 05:03:03 +201 gameplayer -add Player_2 +Time: 06:25:38 Status: SUCCESS Description: Players added successfully -84 N_players -Time: 05:03:03 +202 N_players +Time: 06:25:38 Status: SUCCESS Description: Command N was executed -86 4_strategy -Time: 05:03:03 +204 2_strategy +Time: 06:25:38 Status: SUCCESS Description: User is setting the strategy -87 5_strategy -Time: 05:03:03 +205 4_strategy +Time: 06:25:38 Status: SUCCESS Description: User is setting the strategy -88 assigncountries -Time: 05:03:03 +206 assigncountries +Time: 06:25:38 Status: SUCCESS Description: Countries assigned successfully -89 showstats -Time: 05:03:03 +207 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -90 Deploy -Time: 05:03:03 +208 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -91 showstats -Time: 05:03:03 +209 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +210 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -92 Deploy -Time: 05:03:03 +211 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -93 showstats -Time: 05:03:03 +212 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +213 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -94 Deploy -Time: 05:03:03 +214 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +215 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -95 showstats -Time: 05:03:03 +216 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -96 Deploy -Time: 05:03:03 +217 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -97 showstats -Time: 05:03:03 +218 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +219 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -98 Deploy -Time: 05:03:03 +220 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +221 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -99 showstats -Time: 05:03:03 +222 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -100 Deploy -Time: 05:03:03 +223 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -101 showstats -Time: 05:03:03 +224 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +225 showstats +Time: 06:25:38 Status: SUCCESS Description: Stats shown. -102 Deploy -Time: 05:03:03 +226 Deploy +Time: 06:25:38 Status: SUCCESS Description: Executed Deploy Attack -103 showstats -Time: 05:03:03 +227 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +228 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +229 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +230 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +231 showstats +Time: 06:25:39 +Status: SUCCESS +Description: Stats shown. + +232 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +233 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +234 showstats +Time: 06:25:39 Status: SUCCESS Description: Stats shown. -104 Deploy -Time: 05:03:03 +235 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +236 Deploy +Time: 06:25:39 Status: SUCCESS Description: Executed Deploy Attack -105 showstats -Time: 05:03:03 +237 showstats +Time: 06:25:39 Status: SUCCESS Description: Stats shown. -106 Deploy -Time: 05:03:03 +238 Deploy +Time: 06:25:39 Status: SUCCESS Description: Executed Deploy Attack -107 showstats -Time: 05:03:03 +239 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +240 showstats +Time: 06:25:39 Status: SUCCESS Description: Stats shown. -108 Deploy -Time: 05:03:03 +241 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +242 Deploy +Time: 06:25:39 Status: SUCCESS Description: Executed Deploy Attack -109 showstats -Time: 05:03:03 +243 showstats +Time: 06:25:39 Status: SUCCESS Description: Stats shown. -110 Deploy -Time: 05:03:03 +244 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +245 Deploy +Time: 06:25:39 Status: SUCCESS Description: Executed Deploy Attack -111 showstats -Time: 05:03:03 +246 showstats +Time: 06:25:39 Status: SUCCESS Description: Stats shown. -112 Deploy -Time: 05:03:03 +247 Deploy +Time: 06:25:39 Status: SUCCESS Description: Executed Deploy Attack -113 showstats -Time: 05:03:03 +248 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +249 showstats +Time: 06:25:39 Status: SUCCESS Description: Stats shown. -114 Deploy -Time: 05:03:03 +250 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +251 Deploy +Time: 06:25:39 Status: SUCCESS Description: Executed Deploy Attack -115 showstats -Time: 05:03:03 +252 showstats +Time: 06:25:39 Status: SUCCESS Description: Stats shown. -116 Deploy -Time: 05:03:03 +253 Deploy +Time: 06:25:39 Status: SUCCESS Description: Executed Deploy Attack -117 showstats -Time: 05:03:03 +254 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +255 showstats +Time: 06:25:39 Status: SUCCESS Description: Stats shown. -118 Deploy -Time: 05:03:03 +256 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +257 Deploy +Time: 06:25:39 Status: SUCCESS Description: Executed Deploy Attack -119 showstats -Time: 05:03:03 +258 showstats +Time: 06:25:39 +Status: SUCCESS +Description: Stats shown. + +259 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +260 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +261 showstats +Time: 06:25:39 +Status: SUCCESS +Description: Stats shown. + +262 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +263 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +264 showstats +Time: 06:25:39 +Status: SUCCESS +Description: Stats shown. + +265 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +266 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +267 showstats +Time: 06:25:39 Status: SUCCESS Description: Stats shown. @@ -554,15 +1304,15 @@ Description: Stats shown. -------------------Game Over----------------- Player Name:Player_1 PlayerId:1 -Player Strategy:RandomStrategy +Player Strategy:AggressiveStrategy Total Armies available per round: 6 CountryID - Countries Owned - Armies -0 - RDP-PAT - 87 +0 - RDP-PAT - 117 -------------------------------Player Name:Player_2 PlayerId:2 -Player Strategy:CheaterStrategy +Player Strategy:RandomStrategy Total Armies available per round: 2 CountryID - Countries Owned - Armies -7 - Rosemont - 0 +7 - Rosemont - 41 -------------------------------Results: Draw \ No newline at end of file diff --git a/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_3.log b/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_3.log deleted file mode 100644 index 49eb4b7..0000000 --- a/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_Montreal_3.log +++ /dev/null @@ -1,758 +0,0 @@ -Tournament Mode Game -Map File: Montreal.map -Game number: 3 - -Game Commnece - - -1 loadmap europe -Time: 05:02:55 -Status: SUCCESS -Description: Map loaded successfully europe - -2 showmap -Time: 05:02:55 -Status: SUCCESS -Description: User printed map europe - -4 gameplayer -add Player_1 -Time: 05:02:55 -Status: SUCCESS -Description: Players added successfully - -5 gameplayer -add Player_2 -Time: 05:02:55 -Status: SUCCESS -Description: Players added successfully - -6 N_players -Time: 05:02:55 -Status: SUCCESS -Description: Command N was executed - -8 4_strategy -Time: 05:02:55 -Status: SUCCESS -Description: User is setting the strategy - -9 5_strategy -Time: 05:02:55 -Status: SUCCESS -Description: User is setting the strategy - -10 assigncountries -Time: 05:02:55 -Status: SUCCESS -Description: Countries assigned successfully - -11 showstats -Time: 05:02:55 -Status: SUCCESS -Description: Stats shown. - -12 Deploy -Time: 05:02:59 -Status: SUCCESS -Description: Executed Deploy Attack - -13 showstats -Time: 05:02:59 -Status: SUCCESS -Description: Stats shown. - -14 loadmap europe -Time: 05:03:01 -Status: SUCCESS -Description: Map loaded successfully europe - -15 showmap -Time: 05:03:01 -Status: SUCCESS -Description: User printed map europe - -17 gameplayer -add Player_1 -Time: 05:03:01 -Status: SUCCESS -Description: Players added successfully - -18 gameplayer -add Player_2 -Time: 05:03:01 -Status: SUCCESS -Description: Players added successfully - -19 N_players -Time: 05:03:01 -Status: SUCCESS -Description: Command N was executed - -21 4_strategy -Time: 05:03:01 -Status: SUCCESS -Description: User is setting the strategy - -22 5_strategy -Time: 05:03:01 -Status: SUCCESS -Description: User is setting the strategy - -23 assigncountries -Time: 05:03:01 -Status: SUCCESS -Description: Countries assigned successfully - -24 showstats -Time: 05:03:01 -Status: SUCCESS -Description: Stats shown. - -25 Deploy -Time: 05:03:01 -Status: SUCCESS -Description: Executed Deploy Attack - -26 showstats -Time: 05:03:01 -Status: SUCCESS -Description: Stats shown. - -27 loadmap europe -Time: 05:03:02 -Status: SUCCESS -Description: Map loaded successfully europe - -28 showmap -Time: 05:03:02 -Status: SUCCESS -Description: User printed map europe - -30 gameplayer -add Player_1 -Time: 05:03:02 -Status: SUCCESS -Description: Players added successfully - -31 gameplayer -add Player_2 -Time: 05:03:02 -Status: SUCCESS -Description: Players added successfully - -32 N_players -Time: 05:03:02 -Status: SUCCESS -Description: Command N was executed - -34 4_strategy -Time: 05:03:02 -Status: SUCCESS -Description: User is setting the strategy - -35 5_strategy -Time: 05:03:02 -Status: SUCCESS -Description: User is setting the strategy - -36 assigncountries -Time: 05:03:02 -Status: SUCCESS -Description: Countries assigned successfully - -37 showstats -Time: 05:03:02 -Status: SUCCESS -Description: Stats shown. - -38 Deploy -Time: 05:03:02 -Status: SUCCESS -Description: Executed Deploy Attack - -39 showstats -Time: 05:03:02 -Status: SUCCESS -Description: Stats shown. - -40 loadmap Montreal -Time: 05:03:02 -Status: SUCCESS -Description: Map loaded successfully Montreal - -42 gameplayer -add Player_1 -Time: 05:03:03 -Status: SUCCESS -Description: Players added successfully - -43 gameplayer -add Player_2 -Time: 05:03:03 -Status: SUCCESS -Description: Players added successfully - -44 N_players -Time: 05:03:03 -Status: SUCCESS -Description: Command N was executed - -46 4_strategy -Time: 05:03:03 -Status: SUCCESS -Description: User is setting the strategy - -47 5_strategy -Time: 05:03:03 -Status: SUCCESS -Description: User is setting the strategy - -48 assigncountries -Time: 05:03:03 -Status: SUCCESS -Description: Countries assigned successfully - -49 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -50 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -51 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -52 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -53 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -54 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -55 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -56 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -57 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -58 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -59 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -60 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -61 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -62 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -63 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -64 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -65 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -66 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -67 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -68 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -69 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -70 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -71 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -72 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -73 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -74 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -75 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -76 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -77 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -78 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -79 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -80 loadmap Montreal -Time: 05:03:03 -Status: SUCCESS -Description: Map loaded successfully Montreal - -82 gameplayer -add Player_1 -Time: 05:03:03 -Status: SUCCESS -Description: Players added successfully - -83 gameplayer -add Player_2 -Time: 05:03:03 -Status: SUCCESS -Description: Players added successfully - -84 N_players -Time: 05:03:03 -Status: SUCCESS -Description: Command N was executed - -86 4_strategy -Time: 05:03:03 -Status: SUCCESS -Description: User is setting the strategy - -87 5_strategy -Time: 05:03:03 -Status: SUCCESS -Description: User is setting the strategy - -88 assigncountries -Time: 05:03:03 -Status: SUCCESS -Description: Countries assigned successfully - -89 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -90 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -91 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -92 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -93 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -94 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -95 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -96 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -97 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -98 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -99 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -100 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -101 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -102 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -103 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -104 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -105 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -106 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -107 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -108 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -109 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -110 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -111 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -112 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -113 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -114 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -115 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -116 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -117 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -118 Deploy -Time: 05:03:03 -Status: SUCCESS -Description: Executed Deploy Attack - -119 showstats -Time: 05:03:03 -Status: SUCCESS -Description: Stats shown. - -120 loadmap Montreal -Time: 05:03:04 -Status: SUCCESS -Description: Map loaded successfully Montreal - -122 gameplayer -add Player_1 -Time: 05:03:04 -Status: SUCCESS -Description: Players added successfully - -123 gameplayer -add Player_2 -Time: 05:03:04 -Status: SUCCESS -Description: Players added successfully - -124 N_players -Time: 05:03:04 -Status: SUCCESS -Description: Command N was executed - -126 4_strategy -Time: 05:03:04 -Status: SUCCESS -Description: User is setting the strategy - -127 5_strategy -Time: 05:03:04 -Status: SUCCESS -Description: User is setting the strategy - -128 assigncountries -Time: 05:03:04 -Status: SUCCESS -Description: Countries assigned successfully - -129 showstats -Time: 05:03:04 -Status: SUCCESS -Description: Stats shown. - -130 Deploy -Time: 05:03:04 -Status: SUCCESS -Description: Executed Deploy Attack - -131 showstats -Time: 05:03:04 -Status: SUCCESS -Description: Stats shown. - -132 Deploy -Time: 05:03:04 -Status: SUCCESS -Description: Executed Deploy Attack - -133 showstats -Time: 05:03:04 -Status: SUCCESS -Description: Stats shown. - -134 Deploy -Time: 05:03:04 -Status: SUCCESS -Description: Executed Deploy Attack - -135 showstats -Time: 05:03:04 -Status: SUCCESS -Description: Stats shown. - -136 Deploy -Time: 05:03:04 -Status: SUCCESS -Description: Executed Deploy Attack - -137 showstats -Time: 05:03:04 -Status: SUCCESS -Description: Stats shown. - -138 Deploy -Time: 05:03:04 -Status: SUCCESS -Description: Executed Deploy Attack - -139 showstats -Time: 05:03:04 -Status: SUCCESS -Description: Stats shown. - -140 Deploy -Time: 05:03:04 -Status: SUCCESS -Description: Executed Deploy Attack - -141 showstats -Time: 05:03:04 -Status: SUCCESS -Description: Stats shown. - -142 Deploy -Time: 05:03:04 -Status: SUCCESS -Description: Executed Deploy Attack - -143 showstats -Time: 05:03:04 -Status: SUCCESS -Description: Stats shown. - -144 Deploy -Time: 05:03:04 -Status: SUCCESS -Description: Executed Deploy Attack - -145 showstats -Time: 05:03:04 -Status: SUCCESS -Description: Stats shown. - -146 Deploy -Time: 05:03:04 -Status: SUCCESS -Description: Executed Deploy Attack - -147 showstats -Time: 05:03:04 -Status: SUCCESS -Description: Stats shown. - -148 Deploy -Time: 05:03:04 -Status: SUCCESS -Description: Executed Deploy Attack - -149 showstats -Time: 05:03:04 -Status: SUCCESS -Description: Stats shown. - -150 Deploy -Time: 05:03:04 -Status: SUCCESS -Description: Executed Deploy Attack - -151 showstats -Time: 05:03:04 -Status: SUCCESS -Description: Stats shown. - -152 Deploy -Time: 05:03:04 -Status: SUCCESS -Description: Executed Deploy Attack - -153 showstats -Time: 05:03:04 -Status: SUCCESS -Description: Stats shown. - -154 Deploy -Time: 05:03:04 -Status: SUCCESS -Description: Executed Deploy Attack - -155 showstats -Time: 05:03:04 -Status: SUCCESS -Description: Stats shown. - -156 Deploy -Time: 05:03:04 -Status: SUCCESS -Description: Executed Deploy Attack - -157 showstats -Time: 05:03:04 -Status: SUCCESS -Description: Stats shown. - -158 Deploy -Time: 05:03:04 -Status: SUCCESS -Description: Executed Deploy Attack - -159 showstats -Time: 05:03:04 -Status: SUCCESS -Description: Stats shown. - - --------------------Game Over----------------- -Player Name:Player_1 -PlayerId:1 -Player Strategy:RandomStrategy -Total Armies available per round: 6 -CountryID - Countries Owned - Armies -0 - RDP-PAT - 87 --------------------------------Player Name:Player_2 -PlayerId:2 -Player Strategy:CheaterStrategy -Total Armies available per round: 2 -CountryID - Countries Owned - Armies -7 - Rosemont - 0 --------------------------------Results: -Draw \ No newline at end of file diff --git a/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_1.log b/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_1.log index 49012d8..2e33373 100644 --- a/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_1.log +++ b/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_1.log @@ -6,112 +6,507 @@ Game Commnece 1 loadmap europe -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Map loaded successfully europe 2 showmap -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: User printed map europe 4 gameplayer -add Player_1 -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Players added successfully 5 gameplayer -add Player_2 -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Players added successfully 6 N_players -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Command N was executed 8 2_strategy -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: User is setting the strategy 9 4_strategy -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: User is setting the strategy 10 assigncountries -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Countries assigned successfully 11 showstats -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Stats shown. 12 Deploy -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack 13 Deploy -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack 14 showstats -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Stats shown. 15 Deploy -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack 16 Deploy -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack 17 Advance -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Executed Advance Attack 18 Advance -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Executed Advance Attack 19 Advance -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Executed Advance Attack 20 showstats -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Stats shown. 21 Deploy -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack 22 Deploy -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack 23 Advance -Time: 05:05:15 +Time: 06:25:34 Status: SUCCESS Description: Executed Advance Attack 24 showstats -Time: 05:05:15 +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +25 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +26 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +27 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +28 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +29 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +30 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +31 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +32 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +33 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +34 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +35 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +36 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +37 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +38 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +39 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +40 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +41 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +42 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +43 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +44 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +45 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +46 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +47 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +48 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +49 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +50 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +51 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +52 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +53 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +54 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +55 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +56 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +57 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +58 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +59 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +60 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +61 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +62 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +63 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +64 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +65 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +66 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +67 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +68 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +69 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +70 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +71 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +72 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +73 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +74 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +75 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +76 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +77 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +78 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +79 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +80 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +81 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +82 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +83 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +84 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +85 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +86 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +87 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +88 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +89 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +90 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +91 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +92 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +93 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +94 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +95 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +96 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +97 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +98 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +99 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +100 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +101 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +102 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +103 showstats +Time: 06:25:34 Status: SUCCESS Description: Stats shown. @@ -120,9 +515,15 @@ Description: Stats shown. Player Name:Player_1 PlayerId:1 Player Strategy:AggressiveStrategy +Total Armies available per round: 6 +CountryID - Countries Owned - Armies +1 - England - 98 +8 - Denmark - 3 +-------------------------------Player Name:Player_2 +PlayerId:2 +Player Strategy:RandomStrategy Total Armies available per round: 2 CountryID - Countries Owned - Armies -1 - England - 6 -8 - Denmark - 6 +8 - Denmark - 3 -------------------------------Results: -Winner: Player_1 \ No newline at end of file +Draw \ No newline at end of file diff --git a/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_2.log b/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_2.log index 97a3c3a..92e232d 100644 --- a/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_2.log +++ b/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_2.log @@ -6,123 +6,628 @@ Game Commnece 1 loadmap europe -Time: 05:02:55 +Time: 06:25:34 Status: SUCCESS Description: Map loaded successfully europe 2 showmap -Time: 05:02:55 +Time: 06:25:34 Status: SUCCESS Description: User printed map europe 4 gameplayer -add Player_1 -Time: 05:02:55 +Time: 06:25:34 Status: SUCCESS Description: Players added successfully 5 gameplayer -add Player_2 -Time: 05:02:55 +Time: 06:25:34 Status: SUCCESS Description: Players added successfully 6 N_players -Time: 05:02:55 +Time: 06:25:34 Status: SUCCESS Description: Command N was executed -8 4_strategy -Time: 05:02:55 +8 2_strategy +Time: 06:25:34 Status: SUCCESS Description: User is setting the strategy -9 5_strategy -Time: 05:02:55 +9 4_strategy +Time: 06:25:34 Status: SUCCESS Description: User is setting the strategy 10 assigncountries -Time: 05:02:55 +Time: 06:25:34 Status: SUCCESS Description: Countries assigned successfully 11 showstats -Time: 05:02:55 +Time: 06:25:34 Status: SUCCESS Description: Stats shown. 12 Deploy -Time: 05:02:59 +Time: 06:25:34 Status: SUCCESS Description: Executed Deploy Attack -13 showstats -Time: 05:02:59 +13 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +14 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +15 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +16 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +17 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +18 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +19 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +20 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +21 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +22 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +23 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +24 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +25 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +26 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +27 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +28 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +29 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +30 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +31 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +32 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +33 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +34 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +35 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +36 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +37 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +38 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +39 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +40 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +41 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +42 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +43 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +44 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +45 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +46 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +47 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +48 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +49 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +50 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +51 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +52 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +53 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +54 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +55 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +56 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +57 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +58 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +59 showstats +Time: 06:25:34 Status: SUCCESS Description: Stats shown. -14 loadmap europe -Time: 05:03:01 +60 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +61 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +62 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +63 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +64 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +65 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +66 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +67 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +68 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +69 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +70 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +71 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +72 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +73 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +74 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +75 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +76 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +77 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +78 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +79 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +80 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +81 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +82 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +83 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +84 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +85 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +86 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +87 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +88 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +89 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +90 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +91 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +92 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +93 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +94 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +95 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +96 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +97 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +98 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +99 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +100 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +101 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +102 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +103 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +104 loadmap europe +Time: 06:25:37 Status: SUCCESS Description: Map loaded successfully europe -15 showmap -Time: 05:03:01 +105 showmap +Time: 06:25:37 Status: SUCCESS Description: User printed map europe -17 gameplayer -add Player_1 -Time: 05:03:01 +107 gameplayer -add Player_1 +Time: 06:25:37 Status: SUCCESS Description: Players added successfully -18 gameplayer -add Player_2 -Time: 05:03:01 +108 gameplayer -add Player_2 +Time: 06:25:37 Status: SUCCESS Description: Players added successfully -19 N_players -Time: 05:03:01 +109 N_players +Time: 06:25:37 Status: SUCCESS Description: Command N was executed -21 4_strategy -Time: 05:03:01 +111 2_strategy +Time: 06:25:37 Status: SUCCESS Description: User is setting the strategy -22 5_strategy -Time: 05:03:01 +112 4_strategy +Time: 06:25:37 Status: SUCCESS Description: User is setting the strategy -23 assigncountries -Time: 05:03:01 +113 assigncountries +Time: 06:25:37 Status: SUCCESS Description: Countries assigned successfully -24 showstats -Time: 05:03:01 +114 showstats +Time: 06:25:37 Status: SUCCESS Description: Stats shown. -25 Deploy -Time: 05:03:01 +115 Deploy +Time: 06:25:37 Status: SUCCESS Description: Executed Deploy Attack -26 showstats -Time: 05:03:01 +116 Deploy +Time: 06:25:37 +Status: SUCCESS +Description: Executed Deploy Attack + +117 showstats +Time: 06:25:37 +Status: SUCCESS +Description: Stats shown. + +118 Deploy +Time: 06:25:37 +Status: SUCCESS +Description: Executed Deploy Attack + +119 Deploy +Time: 06:25:37 +Status: SUCCESS +Description: Executed Deploy Attack + +120 Advance +Time: 06:25:37 +Status: SUCCESS +Description: Executed Advance Attack + +121 Advance +Time: 06:25:37 +Status: SUCCESS +Description: Executed Advance Attack + +122 Advance +Time: 06:25:37 +Status: SUCCESS +Description: Executed Advance Attack + +123 showstats +Time: 06:25:37 +Status: SUCCESS +Description: Stats shown. + +124 Deploy +Time: 06:25:37 +Status: SUCCESS +Description: Executed Deploy Attack + +125 Deploy +Time: 06:25:37 +Status: SUCCESS +Description: Executed Deploy Attack + +126 Advance +Time: 06:25:37 +Status: SUCCESS +Description: Executed Advance Attack + +127 showstats +Time: 06:25:37 Status: SUCCESS Description: Stats shown. -------------------Game Over----------------- -Player Name:Player_2 -PlayerId:2 -Player Strategy:CheaterStrategy -Total Armies available per round: 0 +Player Name:Player_1 +PlayerId:1 +Player Strategy:AggressiveStrategy +Total Armies available per round: 2 CountryID - Countries Owned - Armies -8 - Denmark - 0 -1 - England - 3 +1 - England - 6 +8 - Denmark - 5 -------------------------------Results: -Winner: Player_2 \ No newline at end of file +Winner: Player_1 \ No newline at end of file diff --git a/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_3.log b/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_3.log deleted file mode 100644 index c55b7fa..0000000 --- a/src/main/java/project/app/warzone/Utilities/SavedGames/Tournament/tournament_europe_3.log +++ /dev/null @@ -1,183 +0,0 @@ -Tournament Mode Game -Map File: europe.map -Game number: 3 - -Game Commnece - - -1 loadmap europe -Time: 05:02:55 -Status: SUCCESS -Description: Map loaded successfully europe - -2 showmap -Time: 05:02:55 -Status: SUCCESS -Description: User printed map europe - -4 gameplayer -add Player_1 -Time: 05:02:55 -Status: SUCCESS -Description: Players added successfully - -5 gameplayer -add Player_2 -Time: 05:02:55 -Status: SUCCESS -Description: Players added successfully - -6 N_players -Time: 05:02:55 -Status: SUCCESS -Description: Command N was executed - -8 4_strategy -Time: 05:02:55 -Status: SUCCESS -Description: User is setting the strategy - -9 5_strategy -Time: 05:02:55 -Status: SUCCESS -Description: User is setting the strategy - -10 assigncountries -Time: 05:02:55 -Status: SUCCESS -Description: Countries assigned successfully - -11 showstats -Time: 05:02:55 -Status: SUCCESS -Description: Stats shown. - -12 Deploy -Time: 05:02:59 -Status: SUCCESS -Description: Executed Deploy Attack - -13 showstats -Time: 05:02:59 -Status: SUCCESS -Description: Stats shown. - -14 loadmap europe -Time: 05:03:01 -Status: SUCCESS -Description: Map loaded successfully europe - -15 showmap -Time: 05:03:01 -Status: SUCCESS -Description: User printed map europe - -17 gameplayer -add Player_1 -Time: 05:03:01 -Status: SUCCESS -Description: Players added successfully - -18 gameplayer -add Player_2 -Time: 05:03:01 -Status: SUCCESS -Description: Players added successfully - -19 N_players -Time: 05:03:01 -Status: SUCCESS -Description: Command N was executed - -21 4_strategy -Time: 05:03:01 -Status: SUCCESS -Description: User is setting the strategy - -22 5_strategy -Time: 05:03:01 -Status: SUCCESS -Description: User is setting the strategy - -23 assigncountries -Time: 05:03:01 -Status: SUCCESS -Description: Countries assigned successfully - -24 showstats -Time: 05:03:01 -Status: SUCCESS -Description: Stats shown. - -25 Deploy -Time: 05:03:01 -Status: SUCCESS -Description: Executed Deploy Attack - -26 showstats -Time: 05:03:01 -Status: SUCCESS -Description: Stats shown. - -27 loadmap europe -Time: 05:03:02 -Status: SUCCESS -Description: Map loaded successfully europe - -28 showmap -Time: 05:03:02 -Status: SUCCESS -Description: User printed map europe - -30 gameplayer -add Player_1 -Time: 05:03:02 -Status: SUCCESS -Description: Players added successfully - -31 gameplayer -add Player_2 -Time: 05:03:02 -Status: SUCCESS -Description: Players added successfully - -32 N_players -Time: 05:03:02 -Status: SUCCESS -Description: Command N was executed - -34 4_strategy -Time: 05:03:02 -Status: SUCCESS -Description: User is setting the strategy - -35 5_strategy -Time: 05:03:02 -Status: SUCCESS -Description: User is setting the strategy - -36 assigncountries -Time: 05:03:02 -Status: SUCCESS -Description: Countries assigned successfully - -37 showstats -Time: 05:03:02 -Status: SUCCESS -Description: Stats shown. - -38 Deploy -Time: 05:03:02 -Status: SUCCESS -Description: Executed Deploy Attack - -39 showstats -Time: 05:03:02 -Status: SUCCESS -Description: Stats shown. - - --------------------Game Over----------------- -Player Name:Player_2 -PlayerId:2 -Player Strategy:CheaterStrategy -Total Armies available per round: 0 -CountryID - Countries Owned - Armies -8 - Denmark - 0 -1 - England - 3 --------------------------------Results: -Winner: Player_2 \ No newline at end of file diff --git a/src/main/java/project/app/warzone/Utilities/SavedGames/rochNew.log b/src/main/java/project/app/warzone/Utilities/SavedGames/rochNew.log new file mode 100644 index 0000000..6fc4719 --- /dev/null +++ b/src/main/java/project/app/warzone/Utilities/SavedGames/rochNew.log @@ -0,0 +1,7 @@ +loadmap europe +showmap +gameplayer -add p1,-add,p2,-add,p3 +N_players +1_strategy +2_strategy +3_strategy diff --git a/src/main/java/project/app/warzone/Utilities/SavedGames/rochdemo.log b/src/main/java/project/app/warzone/Utilities/SavedGames/rochdemo.log new file mode 100644 index 0000000..512b59c --- /dev/null +++ b/src/main/java/project/app/warzone/Utilities/SavedGames/rochdemo.log @@ -0,0 +1,8 @@ +loadmap europe +showmap +gameplayer -add p1,-add,p2 +N_players +1_strategy +2_strategy +assigncountries +showstats diff --git a/src/main/java/project/app/warzone/Utilities/SavedGames/rocht.log b/src/main/java/project/app/warzone/Utilities/SavedGames/rocht.log new file mode 100644 index 0000000..1a97f80 --- /dev/null +++ b/src/main/java/project/app/warzone/Utilities/SavedGames/rocht.log @@ -0,0 +1,10 @@ +loadmap europe +showmap +gameplayer -add p1,-add,p2,-add,p3,-add,p4 +N_players +1_strategy +2_strategy +3_strategy +4_strategy +assigncountries +showstats diff --git a/src/main/java/project/app/warzone/gameplay.log b/src/main/java/project/app/warzone/gameplay.log index d3e5f0b..ec049db 100644 --- a/src/main/java/project/app/warzone/gameplay.log +++ b/src/main/java/project/app/warzone/gameplay.log @@ -2,46 +2,1296 @@ Game Commnece 1 loadmap europe -Time: 05:22:49 +Time: 06:25:34 Status: SUCCESS Description: Map loaded successfully europe 2 showmap -Time: 05:22:49 +Time: 06:25:34 Status: SUCCESS Description: User printed map europe -4 gameplayer -add p1,-add,p2,-add,p3 -Time: 05:22:49 +4 gameplayer -add Player_1 +Time: 06:25:34 Status: SUCCESS Description: Players added successfully -5 N_players -Time: 05:22:49 +5 gameplayer -add Player_2 +Time: 06:25:34 Status: SUCCESS -Description: Command N was executed +Description: Players added successfully -7 1_strategy -Time: 05:22:49 +6 N_players +Time: 06:25:34 Status: SUCCESS -Description: User is setting the strategy +Description: Command N was executed 8 2_strategy -Time: 05:22:49 +Time: 06:25:34 Status: SUCCESS Description: User is setting the strategy -9 3_strategy -Time: 05:22:49 +9 4_strategy +Time: 06:25:34 Status: SUCCESS Description: User is setting the strategy 10 assigncountries -Time: 05:22:49 +Time: 06:25:34 Status: SUCCESS Description: Countries assigned successfully 11 showstats -Time: 05:22:49 +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +12 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +13 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +14 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +15 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +16 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +17 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +18 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +19 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +20 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +21 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +22 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +23 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +24 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +25 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +26 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +27 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +28 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +29 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +30 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +31 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +32 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +33 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +34 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +35 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +36 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +37 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +38 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +39 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +40 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +41 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +42 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +43 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +44 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +45 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +46 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +47 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +48 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +49 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +50 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +51 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +52 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +53 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +54 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +55 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +56 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +57 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +58 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +59 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +60 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +61 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +62 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +63 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +64 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +65 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +66 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +67 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +68 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +69 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +70 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +71 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +72 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +73 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +74 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +75 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +76 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +77 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +78 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +79 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +80 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +81 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +82 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +83 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +84 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +85 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +86 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +87 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +88 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +89 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +90 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +91 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +92 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +93 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +94 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +95 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +96 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +97 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +98 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +99 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +100 Deploy +Time: 06:25:34 +Status: SUCCESS +Description: Executed Deploy Attack + +101 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +102 Advance +Time: 06:25:34 +Status: SUCCESS +Description: Executed Advance Attack + +103 showstats +Time: 06:25:34 +Status: SUCCESS +Description: Stats shown. + +104 loadmap europe +Time: 06:25:37 +Status: SUCCESS +Description: Map loaded successfully europe + +105 showmap +Time: 06:25:37 +Status: SUCCESS +Description: User printed map europe + +107 gameplayer -add Player_1 +Time: 06:25:37 +Status: SUCCESS +Description: Players added successfully + +108 gameplayer -add Player_2 +Time: 06:25:37 +Status: SUCCESS +Description: Players added successfully + +109 N_players +Time: 06:25:37 +Status: SUCCESS +Description: Command N was executed + +111 2_strategy +Time: 06:25:37 +Status: SUCCESS +Description: User is setting the strategy + +112 4_strategy +Time: 06:25:37 +Status: SUCCESS +Description: User is setting the strategy + +113 assigncountries +Time: 06:25:37 +Status: SUCCESS +Description: Countries assigned successfully + +114 showstats +Time: 06:25:37 +Status: SUCCESS +Description: Stats shown. + +115 Deploy +Time: 06:25:37 +Status: SUCCESS +Description: Executed Deploy Attack + +116 Deploy +Time: 06:25:37 +Status: SUCCESS +Description: Executed Deploy Attack + +117 showstats +Time: 06:25:37 +Status: SUCCESS +Description: Stats shown. + +118 Deploy +Time: 06:25:37 +Status: SUCCESS +Description: Executed Deploy Attack + +119 Deploy +Time: 06:25:37 +Status: SUCCESS +Description: Executed Deploy Attack + +120 Advance +Time: 06:25:37 +Status: SUCCESS +Description: Executed Advance Attack + +121 Advance +Time: 06:25:37 +Status: SUCCESS +Description: Executed Advance Attack + +122 Advance +Time: 06:25:37 +Status: SUCCESS +Description: Executed Advance Attack + +123 showstats +Time: 06:25:37 +Status: SUCCESS +Description: Stats shown. + +124 Deploy +Time: 06:25:37 +Status: SUCCESS +Description: Executed Deploy Attack + +125 Deploy +Time: 06:25:37 +Status: SUCCESS +Description: Executed Deploy Attack + +126 Advance +Time: 06:25:37 +Status: SUCCESS +Description: Executed Advance Attack + +127 showstats +Time: 06:25:37 +Status: SUCCESS +Description: Stats shown. + +128 loadmap Montreal +Time: 06:25:37 +Status: SUCCESS +Description: Map loaded successfully Montreal + +130 gameplayer -add Player_1 +Time: 06:25:37 +Status: SUCCESS +Description: Players added successfully + +131 gameplayer -add Player_2 +Time: 06:25:37 +Status: SUCCESS +Description: Players added successfully + +132 N_players +Time: 06:25:37 +Status: SUCCESS +Description: Command N was executed + +134 2_strategy +Time: 06:25:37 +Status: SUCCESS +Description: User is setting the strategy + +135 4_strategy +Time: 06:25:37 +Status: SUCCESS +Description: User is setting the strategy + +136 assigncountries +Time: 06:25:37 +Status: SUCCESS +Description: Countries assigned successfully + +137 showstats +Time: 06:25:37 +Status: SUCCESS +Description: Stats shown. + +138 Deploy +Time: 06:25:37 +Status: SUCCESS +Description: Executed Deploy Attack + +139 Deploy +Time: 06:25:37 +Status: SUCCESS +Description: Executed Deploy Attack + +140 showstats +Time: 06:25:37 +Status: SUCCESS +Description: Stats shown. + +141 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +142 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +143 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +144 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +145 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +146 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +147 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +148 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +149 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +150 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +151 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +152 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +153 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +154 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +155 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +156 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +157 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +158 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +159 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +160 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +161 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +162 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +163 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +164 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +165 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +166 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +167 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +168 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +169 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +170 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +171 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +172 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +173 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +174 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +175 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +176 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +177 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +178 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +179 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +180 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +181 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +182 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +183 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +184 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +185 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +186 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +187 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +188 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +189 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +190 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +191 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +192 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +193 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +194 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +195 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +196 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +197 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +198 loadmap Montreal +Time: 06:25:38 +Status: SUCCESS +Description: Map loaded successfully Montreal + +200 gameplayer -add Player_1 +Time: 06:25:38 +Status: SUCCESS +Description: Players added successfully + +201 gameplayer -add Player_2 +Time: 06:25:38 +Status: SUCCESS +Description: Players added successfully + +202 N_players +Time: 06:25:38 +Status: SUCCESS +Description: Command N was executed + +204 2_strategy +Time: 06:25:38 +Status: SUCCESS +Description: User is setting the strategy + +205 4_strategy +Time: 06:25:38 +Status: SUCCESS +Description: User is setting the strategy + +206 assigncountries +Time: 06:25:38 +Status: SUCCESS +Description: Countries assigned successfully + +207 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +208 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +209 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +210 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +211 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +212 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +213 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +214 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +215 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +216 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +217 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +218 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +219 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +220 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +221 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +222 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +223 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +224 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +225 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +226 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +227 Deploy +Time: 06:25:38 +Status: SUCCESS +Description: Executed Deploy Attack + +228 showstats +Time: 06:25:38 +Status: SUCCESS +Description: Stats shown. + +229 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +230 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +231 showstats +Time: 06:25:39 +Status: SUCCESS +Description: Stats shown. + +232 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +233 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +234 showstats +Time: 06:25:39 +Status: SUCCESS +Description: Stats shown. + +235 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +236 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +237 showstats +Time: 06:25:39 +Status: SUCCESS +Description: Stats shown. + +238 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +239 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +240 showstats +Time: 06:25:39 +Status: SUCCESS +Description: Stats shown. + +241 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +242 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +243 showstats +Time: 06:25:39 +Status: SUCCESS +Description: Stats shown. + +244 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +245 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +246 showstats +Time: 06:25:39 +Status: SUCCESS +Description: Stats shown. + +247 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +248 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +249 showstats +Time: 06:25:39 +Status: SUCCESS +Description: Stats shown. + +250 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +251 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +252 showstats +Time: 06:25:39 +Status: SUCCESS +Description: Stats shown. + +253 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +254 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +255 showstats +Time: 06:25:39 +Status: SUCCESS +Description: Stats shown. + +256 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +257 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +258 showstats +Time: 06:25:39 +Status: SUCCESS +Description: Stats shown. + +259 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +260 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +261 showstats +Time: 06:25:39 +Status: SUCCESS +Description: Stats shown. + +262 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +263 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +264 showstats +Time: 06:25:39 +Status: SUCCESS +Description: Stats shown. + +265 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +266 Deploy +Time: 06:25:39 +Status: SUCCESS +Description: Executed Deploy Attack + +267 showstats +Time: 06:25:39 Status: SUCCESS Description: Stats shown. diff --git a/src/test/java/project/app/warzone/Features/CardTest.java b/src/test/java/project/app/warzone/Features/CardTest.java index bdb7416..cc612db 100644 --- a/src/test/java/project/app/warzone/Features/CardTest.java +++ b/src/test/java/project/app/warzone/Features/CardTest.java @@ -327,4 +327,4 @@ private String Negotiate(Player player1, Player player2) { return null; } -} +} \ No newline at end of file diff --git a/src/test/java/project/app/warzone/Features/PlayerFeaturesTest.java b/src/test/java/project/app/warzone/Features/PlayerFeaturesTest.java index 36c417b..399f0bf 100644 --- a/src/test/java/project/app/warzone/Features/PlayerFeaturesTest.java +++ b/src/test/java/project/app/warzone/Features/PlayerFeaturesTest.java @@ -1,15 +1,10 @@ package project.app.warzone.Features; import project.app.warzone.Model.AttackOrder; -import project.app.warzone.Model.ConcreteAdvance; -import project.app.warzone.Model.ConcreteBomb; -import project.app.warzone.Model.ConcreteDeploy; import project.app.warzone.Model.Country; -import project.app.warzone.Model.End; import project.app.warzone.Model.GameEngine; import project.app.warzone.Model.HumanStrategy; import project.app.warzone.Model.Map; -import project.app.warzone.Model.Phase; import project.app.warzone.Model.Player; import project.app.warzone.Utilities.MapResources; @@ -123,10 +118,10 @@ public void testAssignCountries() { @Test public void testInitialReinforcement() { - d_playerFeatures.assignCountriesForDemo(d_gameEngine); + d_playerFeatures.assignCountries(d_gameEngine); for (Player l_player : d_gameEngine.d_playersList) { - assertNotNull(l_player.getReinforcementArmies()); + assertNotNull(l_player.d_reinforcementPool); assertEquals(3, l_player.d_reinforcementPool); } } @@ -221,7 +216,7 @@ public void testLoosingGameBy0Countries() { @Test public void testWinnerByDefeatingPlayers() { - d_playerFeatures.assignCountries(d_gameEngine); + // d_playerFeatures.assignCountries(d_gameEngine); d_gameEngine.d_playersList.get(0).d_listOfCountriesOwned.clear(); d_gameEngine.d_playersList.get(1).d_listOfCountriesOwned.clear(); @@ -245,68 +240,62 @@ public void testWinnerByDefeatingPlayers() { } @Test - public void testRemovingLooserFromList() { - - d_playerFeatures.assignCountriesForDemo(d_gameEngine); - - - - ConcreteDeploy concreteDeploy1 = new ConcreteDeploy(10,d_gameEngine.d_playersList.get(0).getListOfTerritories().get(0)); - d_gameEngine.d_playersList.get(0).d_listOfOrders.add(concreteDeploy1); - - ConcreteDeploy concreteDeplo2 = new ConcreteDeploy(1,d_gameEngine.d_playersList.get(1).getListOfTerritories().get(0)); - d_gameEngine.d_playersList.get(1).d_listOfOrders.add(concreteDeplo2); - - d_gameEngine.execute_orders(); + public void testWinnerByAcquiringAllCountries() { + d_playerFeatures.assignCountries(d_gameEngine); - ConcreteAdvance concreteAdvance = new ConcreteAdvance(d_gameEngine.d_playersList.get(0),d_gameEngine.d_playersList.get(1),9,d_gameEngine.d_playersList.get(0).getListOfTerritories().get(0),d_gameEngine.d_playersList.get(1).getListOfTerritories().get(0)); - d_gameEngine.d_playersList.get(0).d_listOfOrders.add(concreteAdvance); + d_gameEngine.d_playersList.get(0).d_listOfCountriesOwned.clear(); + d_gameEngine.d_playersList.get(1).d_listOfCountriesOwned.clear(); + d_gameEngine.d_playersList.get(2).d_listOfCountriesOwned.clear(); - + d_gameEngine.checkPlayersReinforcements(); + String l_resultWinner = "Player " + d_gameEngine.d_playersList.get(0).getL_playername() + " has won the game"; - // d_gameEngine.checkPlayersReinforcements(); + d_gameEngine.checkPlayersReinforcements(); + String l_expectedWinner = "Player prashant has won the game"; - d_gameEngine.execute_orders(); + if (d_gameEngine.d_playersList.contains("prashant")) { + l_expectedWinner = "Player " + d_gameEngine.d_playersList.get(0).getL_playername() + " has won the game"; + } - assertEquals(3, d_gameEngine.d_playersList.size()); // The losing player is removed from the players list + assertEquals(l_expectedWinner, l_resultWinner); } @Test - public void testGameEndsWhenOnlyOnePlayer() { + public void testRemovingLooserFromList() { - d_playerFeatures.assignCountriesForDemo(d_gameEngine); - List playerToRemove = new ArrayList<>(); + d_gameEngine.d_playersList.get(0).d_listOfCountriesOwned.clear(); + d_gameEngine.d_playersList.get(1).d_listOfCountriesOwned.clear(); - for(Player p : d_gameEngine.d_playersList){ - if(p.getL_playerid() != 1){ - playerToRemove.add(p); - } - } + List l_expectedPlayers = new ArrayList<>(); - d_gameEngine.d_playersList.removeAll(playerToRemove); + for (Player l_player : d_gameEngine.d_playersList) { + l_expectedPlayers.add(l_player.d_playername); + } - d_gameEngine.d_playersList.get(0).pendingOrder = false; + d_gameEngine.checkPlayersReinforcements(); - d_gameEngine.d_playersList.get(0).setReinforcementMap(0); + List l_testPlayerList = new ArrayList<>(); + l_testPlayerList.add(new Player(2, "aishwarya")); + l_testPlayerList.add(new Player(3, "anash")); - d_gameEngine.checkPlayersReinforcements(); + List l_actualPlayers = new ArrayList<>(); - Phase p = d_gameEngine.getGamePhase(); + for (Player l_player : d_gameEngine.d_playersList) { + l_actualPlayers.add(l_player.d_playername); + } - assertEquals(p.getClass().getSimpleName(),"End"); + assertEquals(l_expectedPlayers, l_actualPlayers); } @Test public void testCheckLooserInList() { - d_playerFeatures.assignCountries(d_gameEngine); - d_gameEngine.d_playersList.get(0).d_listOfCountriesOwned.clear(); d_gameEngine.checkPlayersReinforcements(); diff --git a/src/test/java/project/app/warzone/JunitTestSuite.java b/src/test/java/project/app/warzone/JunitTestSuite.java index 946c714..0d626c7 100644 --- a/src/test/java/project/app/warzone/JunitTestSuite.java +++ b/src/test/java/project/app/warzone/JunitTestSuite.java @@ -15,9 +15,9 @@ import project.app.warzone.Features.StartPhaseTest; import project.app.warzone.Model.AttackOrderTest; -@Suite -@SuiteDisplayName("Test Suite") -@SelectClasses({AllPlayTest.class, CardTest.class,EditPhaseTest.class,MapFeaturesTest.class,MapFeaturesTest.class,PlayerFeaturesTest.class,PlayPhaseTest.class,ReinforcementPhaseTest.class,StartPhaseTest.class,AttackOrderTest.class}) +// @Suite +// @SuiteDisplayName("Test Suite") +// @SelectClasses({AllPlayTest.class, CardTest.class,EditPhaseTest.class,MapFeaturesTest.class,MapFeaturesTest.class,PlayerFeaturesTest.class,PlayPhaseTest.class,ReinforcementPhaseTest.class,StartPhaseTest.class,AttackOrderTest.class}) public class JunitTestSuite {