Added Backend Classes and FUnctions for an working Game. But lacking Implementations
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace API.Services.GameManager
|
||||
{
|
||||
public interface IGameManager
|
||||
{
|
||||
public int CreateGame(string playerName);
|
||||
public bool JoinGame(string playerName, int gameCode);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user