summaryrefslogtreecommitdiff
path: root/match_game.html.erb
blob: 53b6e9b0117a31282348e8e079e45f85b5893497 (plain)
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
		<link rel="stylesheet" href="/match_game/match_game.css"/>
		<script src="/match_game/jquery-1.7.min.js"></script>

		<dev id="playfield-div">
			<div id="card-table">
				<div id="start-div">
					<p>So, you'd like to post messages to the Parabola Forum,<br/>
						 or report a bug on the Parabola Issue Tracker,<br/>would you?.</p>
					<p>That's awesome;<br/>but first, you will need to prove your humanity<br/>by playing a little game. Ready?</p>
					<button id="start-button">Yay! Lets' play!</button>
					<script>$('#start-button').css('display' , 'unset') ;</script>
					<noscript>
						<div style="background-color: #600 ; color: #FFF ;">
							The Parabola Forum and Issue Tracker do not require javascript; but this captcha does.<br/>Sorry about that!<br/>
						</div>
					</noscript>
					<p>If you prefer, we would gladly create an account for you.<br/>Just ask on the mailing list or IRC.</p>
				</div>
				<div id="completed-div"><p>Super! You have earned one nickname!</p>
					The nickname and password that you choose<br/>will sign you into both the Forum and Issue Tracker.
        </div>
			</div>
			<div id="elapsed-div"><span>Time: </span><span id="elapsed-span"></span></div>
			<div id="tries-div"  ><span>Tries:</span><span id="tries-span"  ></span></div>
		</div>

		<script>const BEST_TIME = <%=raw @best_time %> ; const BEST_TRIES = <%=raw @best_tries %></script>
		<script src="/match_game/debug.js"     ></script>
		<script src="/match_game/constants.js" ></script>
		<script src="/match_game/cards.js"     ></script>
		<script src="/match_game/match_game.js"></script>

		<!--override rails stylesheets/responsive.css-->
		<style>#main.nosidebar #content { min-height: 600px ; }</style>