File size: 468 Bytes
47cfe3f
668ae21
47cfe3f
 
 
 
 
d6bb1e0
 
 
 
 
47cfe3f
 
 
668ae21
47cfe3f
 
07fde23
 
 
 
677bc72
 
 
07fde23
 
 
d6bb1e0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
export const enum LetterState {
	INITIAL = '',
	CORRECT = 'correct',
	PRESENT = 'present',
	ABSENT = 'absent'
}

export const enum GameState {
	PLAYING,
	SUCESS,
	FAIL
}
export interface Tile {
	letter: string;
	state: LetterState;
	correct: string;
}
export type Board = Tile[][];

export interface PromptsData {
	[key: string]: string[];
}
export interface BadgeComponent {
	[key: number]: string;
}
export interface SuccessPrompt {
	prompt: string;
	idx: number;
}