code: function addPlayerToGame(game, playernm) {
      var p = new Player(playernm);
      p.pieces = game.drawPieces(6);
      game.players[p.name] = p;
  
      // if first player, make it his turn
      if (Object.keys(game.players).length === 1) {
          p.has_turn = true;
      }
  }
docs: Create and add a player to a game.
  @param game: {obj} game object
  @param playernm: {str} player name