function Match() {
  this.gamesArr = this.newGame()
  this.gameNum = 0
  this.playerWins = 0
  this.compWins = 0
}

Match.prototype.newGame = function() {
  var games = []
  for(var i = 0; i < 3; i++){
    games.push(new Game() )
  }
  return games
}

Match.prototype.popGames = function() {
$(".player_games_won").text(this.playerWins)
$(".comp_games_won").text(this.compWins)
$(".player_score").text( this.gamesArr[this.gameNum].playerScore)
$(".comp_score").text( this.gamesArr[this.gameNum].compScore)
}


@@ -498,12 +498,358 @@
 mpScore)%0A%7D%0A%0A
+Match.prototype.playGame = function(userChoice) %7B%0A  this.gamesArr%5Bthis.gameNum%5D.run(userChoice)%0A%7D%0A%0AMatch.prototype.checkGameWinner = function() %7B%0A  if (this.gamesArr%5Bthis.gameNum%5D.winner == true) %7B%0A    this.playerWins++%0A    this.gameNum++%0A  %7D else if (this.gamesArr%5Bthis.gameNum%5D.winner == false) %7B%0A    this.compWins++%0A    this.gameNum++%0A  %7D%0A%0A%7D%0A%0A

add method to check for game winner