fel kesz game backend

This commit is contained in:
2025-09-15 19:00:35 +02:00
parent 7963f28021
commit 3af8de2797
267 changed files with 15655 additions and 347 deletions
@@ -26,10 +26,26 @@ export enum CardType {
CLOSER = 4
}
export enum ConsequenceType {
MOVE_FORWARD = 0,
MOVE_BACKWARD = 1,
LOSE_TURN = 2,
EXTRA_TURN = 3,
SWAP_POSITION = 4,
GO_TO_START = 5,
TURN_AGAIN = 6
}
export interface Consequence {
type: ConsequenceType;
value?: number;
}
export interface Card {
text: string;
type?: CardType;
answer?: string | null;
consequence?: Consequence | null;
}
@Entity('Decks')