hangman.html 725 Bytes
Newer Older
Sorrel Harriet's avatar
Sorrel Harriet committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!-- Source: https://jsfiddle.net/phollott/x29ym2ag/ -->
<form id="hangman" method="POST" action="splash.py">
	<input type="hidden" id="won" name="won" value="0" />
	<input type="hidden" id="player_id" name="player_id" value="{}" />
	<input type="hidden" id="guessed_word" name="guessed_word" value="" />
    <input type="text" maxlength="1" minlength="1" name="letter" id="letter" placeholder="Guess a letter" />
	<input id="hint" name="hint" type="button" value="Hint" />
    <input id="guess" name="guess" type="submit" value="Guess" />
</form>
<ul id="letters"></ul>
<p id="man"></p>
<p id="hintText" class="hint"></p>
<p id="output" class="output"></p>
<script type='text/javascript'>playHangman('{}','{}',{});</script>