public ActionResult <Game> JoinGame(int gameId, int userId)
        {
            Game g = reader.getGame(gameId);

            if (g.playerW == -1)
            {
                g.playerW = userId;
                updater.joinGameWhite(g);
            }
            else
            {
                g.playerB = userId;
                updater.joinGameBlack(g);
            }
            return(g);
        }