public async Task <IHttpActionResult> ComputeBoardFor([FromBody] GameBoard board) { await GameEngineInstance.ComputeBoardFor(board, board.Token); return(Ok()); }
public async Task <IHttpActionResult> GetBoardResultsFor(Guid sessionToken) { var result = await GameEngineInstance.GetBoardResultsFor(sessionToken); return(Ok(result)); }
public async Task <IHttpActionResult> IsBoardComputationFinished(Guid sessionToken) { var result = await GameEngineInstance.IsBoardComputationFinished(sessionToken); return(Ok(result)); }