Added Backend Classes and FUnctions for an working Game. But lacking Implementations

This commit is contained in:
jhim
2026-02-27 11:16:21 +01:00
committed by Jonas
parent 120c671dce
commit 5db7ac1676
12 changed files with 183 additions and 15 deletions
+20
View File
@@ -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;
}
}
}
+8
View File
@@ -0,0 +1,8 @@
namespace API.Services.GameManager
{
public interface IGameManager
{
public int CreateGame(string playerName);
public bool JoinGame(string playerName, int gameCode);
}
}