b967bd70eb
- Introduced `IGameRepository` interface and its implementation. - Transitioned namespaces to `file-scoped` for consistency. - Simplified class definitions, e.g., `Game` and `SixDigitInt`. - Restructured `GameField` logic for improved readability and functionality. - Fixed formatting issues in `API.csproj` and added a `using` directive in `Program.cs`.
19 lines
378 B
C#
19 lines
378 B
C#
namespace API.Services.GameManager;
|
|
|
|
public class GameManager : IGameManager
|
|
{
|
|
public int CreateGame(string playerName)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public bool JoinGame(string playerName, int gameCode)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
private int GenerateNonExistingGameCode()
|
|
{
|
|
return 0;
|
|
}
|
|
} |