Files
Shogi/Shogi.Domain/ValueObjects/Enums.cs
2024-10-25 10:30:47 -05:00

35 lines
516 B
C#

namespace Shogi.Domain.ValueObjects;
[Flags]
internal enum InCheckResult
{
NobodyInCheck = 1, // This kinda doesn't make sense from a Flags perspective, but it works. =/
Player1InCheck = 2,
Player2InCheck = 4
}
internal enum GameOverResult
{
GameIsNotOver,
Player1Wins,
Player2Wins
}
public enum WhichPiece
{
King,
GoldGeneral,
SilverGeneral,
//PromotedSilverGeneral,
Bishop,
//PromotedBishop,
Rook,
//PromotedRook,
Knight,
//PromotedKnight,
Lance,
//PromotedLance,
Pawn,
//PromotedPawn,
}