Refactor GameRepository and GameManager architecture, introduce Player model, and update dependency registration in Program.cs.
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
namespace API.Services.GameManager;
|
||||
using API.Models.Game;
|
||||
|
||||
namespace API.Services.GameManager;
|
||||
|
||||
public interface IGameManager
|
||||
{
|
||||
public int CreateGame(string playerName);
|
||||
public bool JoinGame(string playerName, int gameCode);
|
||||
public int CreateGame(Coordinates gFs, Player player);
|
||||
public bool JoinGame(Player playerName, int gameCode);
|
||||
}
|
||||
Reference in New Issue
Block a user