diff options
Diffstat (limited to 'play.html')
-rw-r--r-- | play.html | 234 |
1 files changed, 234 insertions, 0 deletions
diff --git a/play.html b/play.html new file mode 100644 index 0000000..435c237 --- /dev/null +++ b/play.html @@ -0,0 +1,234 @@ +<!DOCTYPE html> +<html> +<head> +<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1"> +<meta charset="utf-8"> +<title>WASHINGTON'S WAR</title> +<link rel="icon" href="favicon.png"> +<link rel="stylesheet" href="/fonts/fonts.css"> +<link rel="stylesheet" href="/common/grid.css"> +<link rel="stylesheet" href="play.css"> +<script defer src="/socket.io/socket.io.min.js"></script> +<script defer src="/common/client.js"></script> +<script defer src="data.js"></script> +<script defer src="cards.js"></script> +<script defer src="play.js"></script> +</script> +</head> +<body> + +<div id="popup" onmouseleave="hide_popup_menu()"> + <div id="menu_card_play_event" onclick="on_card_play_event()"> + Play Event + </div> + <div id="menu_card_discard_event" onclick="on_card_discard_event()"> + Discard for PC action + </div> + <div id="menu_card_campaign" onclick="on_card_campaign()"> + Play Campaign + </div> + <div id="menu_card_ops_general" onclick="on_card_ops_general()"> + Activate a General + </div> + <div id="menu_card_ops_pc" onclick="on_card_ops_pc()"> + Place PC markers + </div> + <div id="menu_card_ops_reinforcements" onclick="on_card_ops_reinforcements()"> + Bring on Reinforcements + </div> + <div id="menu_card_ops_queue" onclick="on_card_ops_queue()"> + Place into Operations Queue + </div> + <div id="menu_card_battle_play" onclick="on_card_battle_play()"> + Play for +2 DRM + </div> + <div id="menu_card_battle_discard" onclick="on_card_battle_discard()"> + Discard for +1 DRM + </div> + <div id="menu_exchange_for_discard" onclick="on_exchange_for_discard()"> + Exchange for Discarded Event + </div> +</div> + +<header> + <div class="menu"> + <div class="menu_title"><img src="/images/cog.svg"></div> + <div class="menu_popup"> + <div class="menu_item" onclick="toggle_fullscreen()">Fullscreen</div> + <div class="menu_separator"></div> + <div class="menu_item" onclick="window.open('info/playbook.html', '_blank')">Playbook</div> + <div class="menu_item" onclick="window.open('info/rulebook.html', '_blank')">Rulebook</div> + <div class="menu_item" onclick="window.open('cards.html', '_blank')">Cards</div> + <div class="menu_separator"></div> + <div class="menu_item" onclick="send_save()">🐞 Save</div> + <div class="menu_item" onclick="send_restore()">🐞 Restore</div> + <div class="menu_separator"></div> + <div class="menu_item" onclick="send_restart()">⚠ Restart</div> + </div> + </div> + + <div class="icon_button" onclick="toggle_markers()"><img src="/images/earth-america.svg"></div> + <div class="icon_button" onclick="toggle_zoom()"><img src="/images/magnifying-glass.svg"></div> + <div class="icon_button" onclick="toggle_log()"><img src="/images/scroll-quill.svg"></div> + + <div id="prompt"></div> + <div id="actions"></div> +</header> + +<aside> + <div class="roles"> + <div class="role one"> + <div class="role_name"> + American + <div class="role_vp" id="american_vp">VP</div> + <div class="role_user">-</div> + </div> + <div class="role_info" id="american_info">$N cards in hand.</div> + </div> + <div class="role two"> + <div class="role_name"> + British + <div class="role_vp" id="british_vp"></div> + <div class="role_user">-</div> + </div> + <div class="role_info" id="british_info">$N cards in hand.</div> + </div> + <div class="role_info last_played"><div id="last_played" class="card show card_back"></div></div> + </div> + <div id="log"></div> +</aside> + +<main> + +<div id="mapwrap"> +<div id="map"> + <div id="pc"></div> + <div id="generals"></div> + <div id="cu"></div> + <div id="markers"></div> + <div id="spaces"></div> + <div id="war_ends"></div> + <div id="played_british_reinforcements" class="reinforcements"></div> + <div id="played_american_reinforcements_1" class="reinforcements"></div> + <div id="played_american_reinforcements_2" class="reinforcements"></div> +</div> +</div> + +<div class="hand"> +<div id="card+1" class="card card_1"></div> +<div id="card+2" class="card card_1"></div> +<div id="card+3" class="card card_1"></div> +<div id="card+4" class="card card_1"></div> +<div id="card+5" class="card card_1"></div> +<div id="card+6" class="card card_1"></div> +<div id="card+7" class="card card_1"></div> +<div id="card+8" class="card card_1"></div> +<div id="card+9" class="card card_1"></div> +<div id="card+10" class="card card_1"></div> +<div id="card+11" class="card card_1"></div> +<div id="card+12" class="card card_1"></div> +<div id="card+13" class="card card_1"></div> +<div id="card+14" class="card card_1"></div> +<div id="card+15" class="card card_1"></div> +<div id="card+16" class="card card_1"></div> +<div id="card+17" class="card card_1"></div> +<div id="card+18" class="card card_1"></div> +<div id="card+19" class="card card_1"></div> +<div id="card+20" class="card card_1"></div> +<div id="card+21" class="card card_1"></div> +<div id="card+22" class="card card_1"></div> +<div id="card+23" class="card card_23"></div> +<div id="card+24" class="card card_23"></div> +<div id="card+25" class="card card_23"></div> +<div id="card+26" class="card card_23"></div> +<div id="card+27" class="card card_23"></div> +<div id="card+28" class="card card_23"></div> +<div id="card+29" class="card card_23"></div> +<div id="card+30" class="card card_23"></div> +<div id="card+31" class="card card_23"></div> +<div id="card+32" class="card card_23"></div> +<div id="card+33" class="card card_23"></div> +<div id="card+34" class="card card_23"></div> +<div id="card+35" class="card card_23"></div> +<div id="card+36" class="card card_23"></div> +<div id="card+37" class="card card_23"></div> +<div id="card+38" class="card card_23"></div> +<div id="card+39" class="card card_23"></div> +<div id="card+40" class="card card_23"></div> +<div id="card+41" class="card card_23"></div> +<div id="card+42" class="card card_23"></div> +<div id="card+43" class="card card_23"></div> +<div id="card+44" class="card card_23"></div> +<div id="card+45" class="card card_45"></div> +<div id="card+46" class="card card_45"></div> +<div id="card+47" class="card card_45"></div> +<div id="card+48" class="card card_45"></div> +<div id="card+49" class="card card_45"></div> +<div id="card+50" class="card card_45"></div> +<div id="card+51" class="card card_45"></div> +<div id="card+52" class="card card_45"></div> +<div id="card+53" class="card card_45"></div> +<div id="card+54" class="card card_45"></div> +<div id="card+55" class="card card_45"></div> +<div id="card+56" class="card card_45"></div> +<div id="card+57" class="card card_45"></div> +<div id="card+58" class="card card_45"></div> +<div id="card+59" class="card card_45"></div> +<div id="card+60" class="card card_45"></div> +<div id="card+61" class="card card_45"></div> +<div id="card+62" class="card card_45"></div> +<div id="card+63" class="card card_45"></div> +<div id="card+64" class="card card_45"></div> +<div id="card+65" class="card card_45"></div> +<div id="card+66" class="card card_45"></div> +<div id="card+67" class="card card_67"></div> +<div id="card+68" class="card card_68"></div> +<div id="card+69" class="card card_69"></div> +<div id="card+70" class="card card_70"></div> +<div id="card+71" class="card card_71"></div> +<div id="card+72" class="card card_72"></div> +<div id="card+73" class="card card_73"></div> +<div id="card+74" class="card card_74"></div> +<div id="card+75" class="card card_75"></div> +<div id="card+76" class="card card_76"></div> +<div id="card+77" class="card card_77"></div> +<div id="card+78" class="card card_78"></div> +<div id="card+79" class="card card_79"></div> +<div id="card+80" class="card card_80"></div> +<div id="card+81" class="card card_81"></div> +<div id="card+82" class="card card_82"></div> +<div id="card+83" class="card card_83"></div> +<div id="card+84" class="card card_84"></div> +<div id="card+85" class="card card_85"></div> +<div id="card+86" class="card card_86"></div> +<div id="card+87" class="card card_87"></div> +<div id="card+88" class="card card_88"></div> +<div id="card+89" class="card card_89"></div> +<div id="card+90" class="card card_90"></div> +<div id="card+91" class="card card_91"></div> +<div id="card+92" class="card card_92"></div> +<div id="card+93" class="card card_93"></div> +<div id="card+94" class="card card_94"></div> +<div id="card+95" class="card card_95"></div> +<div id="card+96" class="card card_96"></div> +<div id="card+97" class="card card_97"></div> +<div id="card+98" class="card card_98"></div> +<div id="card+99" class="card card_99"></div> +<div id="card+100" class="card card_100"></div> +<div id="card+101" class="card card_101"></div> +<div id="card+102" class="card card_102"></div> +<div id="card+103" class="card card_103"></div> +<div id="card+104" class="card card_104"></div> +<div id="card+105" class="card card_105"></div> +<div id="card+106" class="card card_106"></div> +<div id="card+107" class="card card_107"></div> +<div id="card+108" class="card card_108"></div> +<div id="card+109" class="card card_109"></div> +<div id="card+110" class="card card_110"></div> +</div> + +</main> + +<footer id="status"></footer> + +</body> |