Files
Shogi/Shogi.Domain/ValueObjects/Enums.cs
Lucas Morgan 550942281b Fix Hand css.
Implement placing from hand.
2024-10-25 23:46:14 -05:00

35 lines
514 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
}
public enum GameOverResult
{
GameIsNotOver,
Player1Wins,
Player2Wins
}
public enum WhichPiece
{
King,
GoldGeneral,
SilverGeneral,
//PromotedSilverGeneral,
Bishop,
//PromotedBishop,
Rook,
//PromotedRook,
Knight,
//PromotedKnight,
Lance,
//PromotedLance,
Pawn,
//PromotedPawn,
}