-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.h
More file actions
47 lines (41 loc) · 698 Bytes
/
constants.h
File metadata and controls
47 lines (41 loc) · 698 Bytes
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/**
*
* Solution to course project # 7
* Introduction to programming course
* Faculty of Mathematics and Informatics of Sofia University
* Winter semester 2024/2025
*
* @author Lyubomir Topalski
* @idnumber 8MI0600446
* @compiler VC
*
* Contains reused constants
*
*/
#pragma once
// Three types of Tafl boards
enum BoardSizes
{
SMALL = 9,
MEDIUM = 11,
BIG = 13
};
// Number of pieces depending on board type
enum BoardPieces
{
SMALL_ATTACKER = 16,
SMALL_DEFENDER = 8,
MEDIUM_ATTACKER = 24,
MEDIUM_DEFENDER = 13,
BIG_ATTACKER = 32,
BIG_DEFENDER = 13,
};
// UI board elements
enum BoardCellTypes
{
EMPTY_SPACE = '-',
ATTACKER = 'A',
DEFENDER = 'D',
KING = 'K',
END_POINT = 'X'
};