| 
					
				 | 
			
			
				@@ -10,7 +10,7 @@ Game::Game() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 bool Game::addPlayer(std::string name){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if(NOT_STARTED == state){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        PlayerCard newplayer(name); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ScoreSheet newplayer(name); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         players.push_back(newplayer); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         fprintf (stdout, "added: %s to the game\n", name.c_str()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return true; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -31,7 +31,7 @@ void Game::score() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         players[i].score = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // calculate penalty amount 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         players[i].score -= players[i].penaltyCount*PENALTY_VALUE; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // check each color(row) on playerCard 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // check each color(row) on ScoreSheet 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         for(int j = 0;j <white1;j++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             int count = 0; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -64,7 +64,7 @@ void Game::score() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         state = FINISHED; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-void Game::turn(PlayerCard activePlayer) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+void Game::turn(ScoreSheet activePlayer) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // start all players' turns 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     for(int i = 0; i <players.size();i++) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -168,5 +168,5 @@ void Game::receive(std::string userInput) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     players[0].selection[active][row] = yellow; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     players[0].selection[active][column] = 11; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // convert userInput into number 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    // user number to change the boolean on corresponding spot on playerCard 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    // user number to change the boolean on corresponding spot on ScoreSheet 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |