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`.
7 lines
178 B
C#
7 lines
178 B
C#
namespace API.Services.GameManager;
|
|
|
|
public interface IGameManager
|
|
{
|
|
public int CreateGame(string playerName);
|
|
public bool JoinGame(string playerName, int gameCode);
|
|
} |