KoogleApp/src/Koogle.Application/Games/FoxHunt/FoxHuntGameDefinition.cs

43 lines
1.2 KiB
C#

using Koogle.Application.Games.Shit;
using Koogle.Domain.Enums;
using Koogle.Domain.Interfaces;
namespace Koogle.Application.Games.FoxHunt
{
/// <summary>
/// Game definition for Fuchsjagd-Spiel (Fox Hunt) game type.
/// One Player starts as fox, and all others try to hunt him.
/// </summary>
public class FoxHuntGameDefinition : IGameDefinition
{
/// <inheritdoc />
public string Name => "FoxHunt";
/// <inheritdoc />
public string DisplayName => "Fuchsjagd";
/// <inheritdoc />
public Type SetupComponentType => Type.GetType(
"Koogle.Web.Components.Game.FoxHunt.FoxSetup, Koogle.Web")!;
/// <inheritdoc />
public Type BoardComponentType => Type.GetType(
"Koogle.Web.Components.Game.FoxHunt.FoxBoard, Koogle.Web")!;
/// <inheritdoc />
public Type GameLogicServiceType => typeof(FoxHuntGameLogicService);
/// <inheritdoc />
public Type GameModelType => typeof(FoxHuntGameModel);
/// <inheritdoc />
public TeamMode TeamMode => TeamMode.None;
/// <inheritdoc />
public int MinTeams => 2;
/// <inheritdoc />
public int? MaxTeams => null;
}
}