-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTODO.gd
148 lines (112 loc) · 3.78 KB
/
TODO.gd
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
extends Node
"""
What was I doing:
...
TODO:
sfx:
place district
erase district
Show puzzle info, like how many from each party the game has
Cursor:
Drawing:
Over filled square
Over empty square
Moving:
Grabbing Hand
Menus:
Pointing Hand
Ticker for minimum sized districts.
[done] Ticks down when the min is reached.
[done] Ticks up when max is reached or less than min
Symbol for district button when min is reached
Overall progress meter
[done] load saved settings
CPP module for:
[done] runtime contiguity detection
when click is draged from district but not connected, draw a connecting line
autofill
computer drawn district for multiplayer
easy: randomly picks squares and checks if valid.
hard: uses a strategy (rip from codewars)
very hard: uses a strategy and predicts player move
house algorithm
[done] fill
[done] spiral
circle
house dstribution
random (fix)
city vs country (like-houses together, different densities of people)
clustered (random but like-houses together)
[done] houses placed by user
User placed mode:
[done] ability to edit an existing matrix
ability to change number of houses available
[done] Fog of War
[done] touch screen hold-to-delete function
[done] touchscreen drag and zoom (deselect district button)
[done] turn off run time contiguity enforcement
[done] turn off contiguity
settings:
music
sfx
orientation
[done] fireworks: one for each house that won only in viewport
ability to explore / screenshot after victory screen
[done] menu to quit to main menu in game
adjust screen layout for devices
draw original houses (fix copyright infringement)
infinite map
different types of houses
[done] Apartments with more people on a square
Farms, with more land
Mansions, with more money
trees, rocks, and other assets
maps with rivers and multiple collision squares, (can districts cross the river?)
brush size increase with zoom
Tooltip facts and explanations of settings:
contiguous:
Each district cannot be split into two shapes. They must be connected.
fact: 20 states do not require that congressional districts be contiguous.
multiplayer:
any number of human or computer players
computer can draw a district (see c++)
Stage 1. Draw Power or People or Money cards
Power cards represent the ability to draw a district.
People cards represent voters.
Money cards give spender a chance to flip a vote or two
(discourages tie strategies and narrow victories)
Each player starts with 5 voters, no districts, and $100
Stage 2. Players take turns placing voters in a
predetermined map
Stage 3. Players take turns drawing districts.
The most disadvantaged player goes first.
(It will be math-heavy to calculate atvantages XD)
Campaigns (Tutorial, Storymode, etc.):
A game folder points to another game folder
and eventually a completion screen.
Develop a teir system for more optimal solutions
(bronze silver gold)
[done] Create a map screen
Tutorial:
[done] Sally the Salamander teaches you how to play.
Legislative vs Commitee:
Legislative mode: player controls all districts
purple shape
Commitee mode: Multiplayer or player v computer
orange shape
make puzzles:
[done] 10 puzzles
50 puzzles
250 puzzles
1000 puzzles
2000 puzzles
3000 puzzles
Thats probably enough puzzles
NOTE: remember to uncomment out the mouseclick event in the main scene
BUGS:
1. [FIXED] User Place mode holding down to erase "claimed land" will make
house disapear without tallying
2. [FIXED] Shape is not always matched to hardcoded levels on different screen sizes
3. [FIXED] Hardcoded levels not showing percentages on victory
4. End Game is bugged for non-tutoria maps
"""