-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
242 lines (226 loc) · 11.7 KB
/
index.html
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
<head>
<link rel="stylesheet" type="text/css" href="monopoly.css">
<link rel="stylesheet" type="text/css" href="monopoly_board.css">
</head>
<div id = 'setup_game'>
<img src = 'images/monopoly_guy.jpg' />
<h1>Monopoly</h1>
<form id = 'player_entry_form'>
<ul id = 'player_entry_form_list'>
<li>Player1's Name: <input type="text" name="playername" class = 'player_entry_form_field'></li>
<li>Player2's Name: <input type="text" name="playername" class = 'player_entry_form_field'></li>
</ul>
</form>
<div class = 'action_button' id='add_player'>[+]Add Player</div>
<a href='#' class = 'action_button' id = 'start_game'>Start Game</a>
</div>
<div id = 'game_panel'>
<div id = 'left_pane'>
<div id = 'display_panel'>
<ul class = 'player_list border_bottom border_right' id = 'player0_list'>
</ul>
<ul class = 'player_list border_bottom' id = 'player1_list'>
</ul>
</div>
<ul id = 'output_log'><li></li></ul>
</div>
<div id = 'middle_pane'>
<div id = 'board'>
<div id = 'top_row'>
<div data-id = "20" class = 'square_property left'>
<div class = 'pieces_box'></div>
</div>
<div data-id = "21" class = 'vertical_rectangle_property left'>
<div class = 'pieces_box vertical_property_pieces_box'></div>
<div class = 'vertical_property_color_box house_box red'></div>
</div>
<div data-id = "22" class = 'vertical_rectangle_property left'>
<div class = 'pieces_box vertical_property_pieces_box'></div>
<div class = 'vertical_property_color_box house_box'></div>
</div>
<div data-id = "23" class = 'vertical_rectangle_property left'>
<div class = 'pieces_box vertical_property_pieces_box'></div>
<div class = 'vertical_property_color_box house_box red'></div>
</div>
<div data-id = "24" class = 'vertical_rectangle_property left'>
<div class = 'pieces_box vertical_property_pieces_box'></div>
<div class = 'vertical_property_color_box house_box red'></div>
</div>
<div data-id = "25" class = 'vertical_rectangle_property left'>
<div class = 'pieces_box vertical_property_pieces_box'></div>
<div class = 'vertical_property_color_box house_box'></div>
</div>
<div data-id = "26" class = 'vertical_rectangle_property left'>
<div class = 'pieces_box vertical_property_pieces_box'></div>
<div class = 'vertical_property_color_box house_box yellow'></div>
</div>
<div data-id = "27" class = 'vertical_rectangle_property left'>
<div class = 'pieces_box vertical_property_pieces_box'></div>
<div class = 'vertical_property_color_box house_box yellow'></div>
</div>
<div data-id = "28" class = 'vertical_rectangle_property left'>
<div class = 'pieces_box vertical_property_pieces_box'></div>
<div class = 'vertical_property_color_box house_box'></div>
</div>
<div data-id = "29" class = 'vertical_rectangle_property left'>
<div class = 'pieces_box vertical_property_pieces_box'></div>
<div class = 'vertical_property_color_box house_box yellow'></div>
</div>
<div data-id = "30" class = 'square_property left border_left'>
<div class = 'pieces_box'></div>
</div>
</div>
<div id = 'left_column'>
<div data-id = "19" class = 'horizontal_rectangle_property'>
<div class = 'pieces_box horizontal_property_pieces_box'></div>
<div class = 'horizontal_property_color_box house_box orange'></div>
</div>
<div data-id = "18" class = 'horizontal_rectangle_property'>
<div class = 'pieces_box horizontal_property_pieces_box'></div>
<div class = 'horizontal_property_color_box house_box orange'></div>
</div>
<div data-id = "17" class = 'horizontal_rectangle_property'>
<div class = 'pieces_box horizontal_property_pieces_box'></div>
<div class = 'horizontal_property_color_box house_box'></div>
</div>
<div data-id = "16" class = 'horizontal_rectangle_property'>
<div class = 'pieces_box horizontal_property_pieces_box'></div>
<div class = 'horizontal_property_color_box house_box orange'></div>
</div>
<div data-id = "15" class = 'horizontal_rectangle_property'>
<div class = 'pieces_box horizontal_property_pieces_box'></div>
<div class = 'horizontal_property_color_box house_box'></div>
</div>
<div data-id = "14" class = 'horizontal_rectangle_property'>
<div class = 'pieces_box horizontal_property_pieces_box'></div>
<div class = 'horizontal_property_color_box house_box maroon'></div>
</div>
<div data-id = "13" class = 'horizontal_rectangle_property'>
<div class = 'pieces_box horizontal_property_pieces_box'></div>
<div class = 'horizontal_property_color_box house_box maroon'></div>
</div>
<div data-id = "12" class = 'horizontal_rectangle_property'>
<div class = 'pieces_box horizontal_property_pieces_box'></div>
<div class = 'horizontal_property_color_box house_box'></div>
</div>
<div data-id = "11" class = 'horizontal_rectangle_property border_bottom'>
<div class = 'pieces_box horizontal_property_pieces_box'></div>
<div class = 'horizontal_property_color_box house_box maroon'></div>
</div>
</div>
<div class = 'center_square'>
</div>
<div id = 'right_column'>
<div data-id = "31" class = 'horizontal_rectangle_property'>
<div class = 'horizontal_property_color_box house_box green'></div>
<div class = 'pieces_box horizontal_property_pieces_box'></div>
</div>
<div data-id = "32" class = 'horizontal_rectangle_property'>
<div class = 'horizontal_property_color_box house_box green'></div>
<div class = 'pieces_box horizontal_property_pieces_box'></div>
</div>
<div data-id = "33" class = 'horizontal_rectangle_property'>
<div class = 'horizontal_property_color_box house_box'></div>
<div class = 'pieces_box horizontal_property_pieces_box'></div>
</div>
<div data-id = "34" class = 'horizontal_rectangle_property'>
<div class = 'horizontal_property_color_box house_box green'></div>
<div class = 'pieces_box horizontal_property_pieces_box'></div>
</div>
<div data-id = "35" class = 'horizontal_rectangle_property'>
<div class = 'horizontal_property_color_box house_box'></div>
<div class = 'pieces_box horizontal_property_pieces_box'></div>
</div>
<div data-id = "36" class = 'horizontal_rectangle_property'>
<div class = 'horizontal_property_color_box house_box'></div>
<div class = 'pieces_box horizontal_property_pieces_box'></div>
</div>
<div data-id = "37" class = 'horizontal_rectangle_property'>
<div class = 'horizontal_property_color_box house_box blue'></div>
<div class = 'pieces_box horizontal_property_pieces_box'></div>
</div>
<div data-id = "38" class = 'horizontal_rectangle_property'>
<div class = 'horizontal_property_color_box house_box'></div>
<div class = 'pieces_box horizontal_property_pieces_box'></div>
</div>
<div data-id = "39" class = 'horizontal_rectangle_property border_bottom'>
<div class = 'horizontal_property_color_box house_box blue'></div>
<div class = 'pieces_box horizontal_property_pieces_box'></div>
</div>
</div>
<div id = 'bottom_row'>
<div data-id = "10" class = 'square_property left'>
<div class = 'pieces_box'></div>
</div>
<div data-id = "9" class = 'vertical_rectangle_property left'>
<div class = 'vertical_property_color_box house_box teal'></div>
<div class = 'pieces_box vertical_property_pieces_box'></div>
</div>
<div data-id = "8" class = 'vertical_rectangle_property left'>
<div class = 'vertical_property_color_box house_box teal'></div>
<div class = 'pieces_box vertical_property_pieces_box'></div>
</div>
<div data-id = "7" class = 'vertical_rectangle_property left'>
<div class = 'vertical_property_color_box house_box'></div>
<div class = 'pieces_box vertical_property_pieces_box'></div>
</div>
<div data-id = "6" class = 'vertical_rectangle_property left'>
<div class = 'vertical_property_color_box house_box teal'></div>
<div class = 'pieces_box vertical_property_pieces_box'></div>
</div>
<div data-id = "5" class = 'vertical_rectangle_property left'>
<div class = 'vertical_property_color_box house_box'></div>
<div class = 'pieces_box vertical_property_pieces_box'></div>
</div>
<div data-id = "4" class = 'vertical_rectangle_property left'>
<div class = 'vertical_property_color_box house_box'></div>
<div class = 'pieces_box vertical_property_pieces_box'></div>
</div>
<div data-id = "3" class = 'vertical_rectangle_property left'>
<div class = 'vertical_property_color_box house_box purple'></div>
<div class = 'pieces_box vertical_property_pieces_box'></div>
</div>
<div data-id = "2" class = 'vertical_rectangle_property left'>
<div class = 'vertical_property_color_box house_box'></div>
<div class = 'pieces_box vertical_property_pieces_box'></div>
</div>
<div data-id = "1" class = 'vertical_rectangle_property left'>
<div class = 'vertical_property_color_box house_box purple'></div>
<div class = 'pieces_box vertical_property_pieces_box'></div>
</div>
<div data-id = "0" class = 'square_property left border_left'>
<div class = 'pieces_box'></div>
</div>
</div>
</div>
</div>
<div id = 'right_pane'>
<div id = 'display_panel'>
<ul class = 'player_list border_right' id = 'player2_list'>
</ul>
<ul class = 'player_list' id = 'player3_list'>
</ul>
</div>
<img src = 'images/dice.jpg' id = 'dice'>
<div id = 'buttons'>
<a href='#' class = 'action_button' id = 'buy_property_button'>Buy Property</a>
<a href='#' class = 'action_button' id = 'skip_property_button'>Skip Property</a>
<a href='#' class = 'action_button' id = 'income_tax_percent_button'>Pay 10% Income Tax</a>
<a href='#' class = 'action_button' id = 'income_tax_200_button'>Pay $200 Income Tax</a>
<!-- Beginning of players turn options -->
<a href='#' class = 'action_button' id = 'offer_trade'>Offer A Trade</a>
<a href='#' class = 'action_button' id = 'submit_trade'>Submit Trade</a>
<a href='#' class = 'action_button' id = 'done_trading'>Cancel Trading</a>
<a href='#' class = 'action_button' id = 'buy_houses'>Buy Houses/Hotel</a>
<a href='#' class = 'action_button' id = 'done_buying_houses'>Done Buying Houses/Hotel</a>
</div>
<!-- <a href='#' id = 'next_turn_button'>Next Turn</a> -->
<!-- <a href='#' id = 'end_game_button'>End Game</a> -->
</div>
</div>
<div id = 'property_modal'>
</div>
<div id = 'trade_modal'>
</div>
<ul id = 'full_output_log'><li></li></ul>
<script src="monopoly.js"></script>