public void Move(string gameId, string playerId, int row, int column) { BAL.Game objGame = new BAL.Game(); objGame.Move(gameId, playerId, new Move { Row = row, Column = column }); }
public GameInfo Status(string gameId) { if (string.IsNullOrEmpty(gameId)) { return(null); } GameInfo objInfo = null; BAL.Game objGame = new BAL.Game(); objInfo = objGame.GetStatus(gameId); return(objInfo); }
public string Start(string email) { if (string.IsNullOrEmpty(email)) { return(string.Empty); } string gameId = string.Empty; BAL.Game objGame = new BAL.Game(); gameId = objGame.JoinGame(email); return(gameId); }