title: How do I model a table tennis match in rails
body: <p>I am attempting to model a table tennis match in rails.  Here is what I have:</p>
  
  <p>Game Model:<br>
  team_1_score<br>
  team_2_score<br>
  team_1_id<br>
  team_2_id</p>
  
  <p>Team Model:<br>
  game_id<br>
  player_id  </p>
  
  <p>Player Model:<br>
  Name</p>
  
  <p>So each game will consist of 2 teams (of either 1 or 2 players each).<br>
  Then I was planning on linking game to player with has_many, :through.  I don't think this will work because of the 2 instances of team in each game.  But I really don't know where I should go from here.  Any help would be greatly appreciated.  </p>