dchen376 / Sophies-World-Game

PDP - Milestone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

milestone-2---controller

this is the submission for the milestone 3 where we focused on the implementation of the game play.

The example run produced the below output: "playgame() started.\n" + "File path entered correctly.\n" + "FileReader parsed in this file path.\n" + "Mock model read this file\n" + "The Mansion has been just drawn.\n" + "Finished initializing all the players in this game.\n" + "There are 3 players for this game.\n" + "-> " + "A human player just entered this game.\n" + "PlayerName: Sam\n" + "Player initial room: Fate\n" + "Total items allowed for this player: 5\n" + "Sam is successfully added to this Mansion. <-\n" + "-> A human player just entered this game.\n" + "PlayerName: Amy\n" + "Player initial room: The Enlightenment\n" + "Total items allowed for this player: 4\n" + "Amy is successfully added to this Mansion. <-\n" + "-> A computer player just entered this game.\n" + "PlayerName: computer_player_1\n" + "Player initial room: The Myths\n" + "Total items allowed for this player: 10\n" + "computer_player_1 is successfully added to this Mansion. <-\n" + "Human Player, Sam, is having this turn and picking the move.\n" + "Sam is trying to 'move' to another room.\n" + "Human Player, Amy, is having this turn and picking the move.\n" + "Amy is trying to 'move' to another room.\n" + "Computer Player, computer_player_1 ,is having " + "the turn and picking the move. And this is a random move" + " that the compuer player will pick.\n" + "-->One round of game has been just finished.<--\n" + "Human Player, Sam, is having this turn and picking the move.\n" + "Sam is trying to 'pick up' an item. \n" + "Human Player, Amy, is having this turn and picking the move.\n" + "Amy is 'looking around' on another player.\n" + "Computer Player, computer_player_1 ,is having the turn " + "and picking the move. And this is a random move " + "that the compuer player will pick.\n" + "-->One round of game has been just finished.<--\n" + "Human Player, Sam, is having this turn and picking the move.\n" + "Sam is trying to 'pick up' an item.\n" + "Human Player, Sam, is having this turn and picking the move.\n" + "Sam is trying to 'move' to another room.\n" + "Human Player, Amy, is having this turn and picking the move.\n" + "Amy is trying to 'pick up' an item. \n" + "Computer Player, computer_player_1 ,is having the " + "turn and picking the move. And this is a random move that" + " the compuer player will pick.\n" + "-->One round of game has been just finished.<--\n" + "Human Player, Sam, is having this turn and picking the move.\n" + "Sam is 'looking around' on another player.\n" + "Human Player, Amy, is having this turn and picking the move.\n" + "Amy is trying to 'move' to another room.\n" + "Computer Player, computer_player_1 ,is having the turn" + " and picking the move. And this is a random move that" + " the compuer player will pick.\n" + "-->One round of game has been just finished.<--\n" + "Human Player, Sam, is having this turn and picking the move.\n" + "Sam is trying to 'pick up' an item. \n" + "Human Player, Amy, is having this turn and picking the move.\n" + "Amy is 'looking around' on another player.\n" + "Computer Player, computer_player_1 ,is having the turn " + "and picking the move. And this is a random move that the compuer player will pick.\n" + "-->One round of game has been just finished.<--\n" + "Human Player, Sam, is having this turn and picking the move.\n" + "Sam is trying to 'move' to another room.\n" + "Human Player, Amy, is having this turn and picking the move.\n" + "Amy is trying to 'move' to another room.\n" + "Computer Player, computer_player_1 ,is having the turn and " + "picking the move. And this is a random move that the compuer " + "player will pick.\n" + "-->One round of game has been just finished.<--\n" + "Human Player, Sam, is having this turn and picking the move.\n" + "Sam is trying to 'pick up' an item. \n" + "Human Player, Amy, is having this turn and picking the move.\n" + "Amy is trying to 'pick up' an item. \n" + "Computer Player, computer_player_1 ,is having the " + "turn and picking the move. And this is a random move that " + "the compuer player will pick.\n" + "-->One round of game has been just finished.<--\n" + "Human Player, Sam, is having this turn and picking the move.\n" + "Sam is trying to 'move' to another room.\n" + "Human Player, Amy, is having this turn and picking the move.\n" + "Amy is trying to 'move' to another room.\n" + "Computer Player, computer_player_1 ,is having the turn " + "and picking the move. And this is a random move that the " + "compuer player will pick.\n" + "-->One round of game has been just finished.<--\n" + "Human Player, Sam, is having this turn and picking the move.\n" + "Sam is trying to 'pick up' an item. \n" + "Human Player, Amy, is having this turn and picking the move.\n" + "Amy is trying to 'pick up' an item. \n" + "Computer Player, computer_player_1 ,is having the turn " + "and picking the move. And this is a random move that the " + "compuer player will pick.\n" + "-->One round of game has been just finished.<--\n" + "Human Player, Sam, is having this turn and picking the move.\n" + "Sam is trying to 'pick up' an item. \n" + "Human Player, Amy, is having this turn and picking the move.\n" + "Amy is trying to 'pick up' an item. \n" + "Computer Player, computer_player_1 ,is having the turn " + "and picking the move. And this is a random move that the " + "compuer player will pick.\n" + "-->One round of game has been just finished.<--\n" + "Human Player, Sam, is having this turn and picking the move.\n" + "Sam is trying to 'pick up' an item. \n" + "Human Player, Amy, is having this turn and picking the move.\n" + "Amy is trying to 'move' to another room.\n" + "Computer Player, computer_player_1 ,is having the turn " + "and picking the move. And this is a random move that the " + "compuer player will pick.\n" + "-->One round of game has been just finished.<--\n" + "Human Player, Sam, is having this turn and picking the move.\n" + "Sam is trying to 'pick up' an item. \n" + "Human Player, Amy, is having this turn and picking the move.\n" + "Amy is trying to 'move' to another room.\n" + "Computer Player, computer_player_1 ,is having the turn" + " and picking the move. And this is a random move that the " + "compuer player will pick.\n" + "-->One round of game has been just finished.<--\n" + "Human Player, Sam, is having this turn and picking the move.\n" + "Current player, Sam, chose to close this game. :)))\n" + "Game has been Ended!"

side-note: based on my current design, my mock model and mock model testing was build on other mock model classes that I created (It was just the exact duplicate of the original classes).

About

PDP - Milestone


Languages

Language:Java 100.0%