-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplan.txt
83 lines (63 loc) · 941 Bytes
/
plan.txt
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
LuaLoveLetter
Main Menu
-Practice
-Multiplayer
-Campaign
-Settings
Practice Scene
-no difficulty level
-init scene with deck
-ask if player wants tutorial
-do visual tutorial
-Begin Game
Objects
-Game
state = GameState
deck = Deck
players = Player[]
currentPlayerIndex = int
Init()
BeginRound()
BeginTurn()
EndTurn()
EndRound()
-Deck
activeStack = Card[]
discardStack = Card[]
Shuffle()(void)
Draw()(Card)
DealTo(Player...)(void)
5 guards, 2 priests, 2 barons, 2 handmaids, 2 princes, 1 king, 1 countess, 1 princess.
-Player
status = PlayerStatus
myHand = Hand
-Hand
cards = Card[]
Scramble()(void)
RandomDiscard(Deck)(void)
-Card
name = string
rank = int
img = png
effect = Effect
Use()(void)
Discard(Deck)(void)
ENUM
GameState = {
0: None,
1: BeginRound,
2: Turn,
3: EndRound,
4: Over
}
PlayerStatus = {
0: None,
1: InPlay,
2: Lose,
3: Win
}
Effect = {
0: None,
1: Guess,
2: Foo,
}