-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgame.html
More file actions
43 lines (38 loc) · 1.74 KB
/
game.html
File metadata and controls
43 lines (38 loc) · 1.74 KB
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
<!DOCTYPE html>
<html>
<head>
<title> Farkle </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!---Make full screen code from: -->
<!-- https://www.w3schools.com/css/css_rwd_viewport.asp -->
<!-- https://stackoverflow.com/questions/6483425/prevent-iphone-from-zooming-in-on-select-in-web-app -->
<meta name="viewport"
content="width=device-width,
minimum-scale=1.0,
maximum-scale=1.0,
user-scalable=no">
</head>
<body>
<font size="+2"><b>FARKLE</b><font size="+1"><br>
<table style="width: 613px; border-color: #000000;">
<tbody>
<tr style="height: 21px;">
<td style="height: 21px; width: 306.667px;"><strong>Scoring:</strong></td>
<td style="height: 21px; width: 298.333px;"><strong>Rules:</strong></td>
</tr>
<tr style="height: 60px;">
<td style="height: 60px; width: 306.667px;">One 5 = 50, One 1 = 100, <br />Three of a kind = 100 Times dice number <br />Four of a kind = 200 Times dice number <br />Five of a kind = 300 Times dice number <br />Six of a kind = 400 Times dice number <br />Ones: 3 = 1000, 4 = 2000, 5 = 3000, 6 = 4000<br>Not able to score any points on first roll = 500<br></td>
<td style="text-align: left; height: 60px; width: 298.333px;">Roll without being able to score - <br>"Farkle" - Zero Points for turn!<br><br />Get six X's - "Hot dice" - Reroll and continue!<br /><b>"End Turn" - The only way to add to your Total Score! - Ends your current turn</b><br />Get total score of 10,000 in the least number of turns - Compete with friends</td>
</tr>
</tbody>
</table>
<p id ="htmlDice">
<button onclick="roll()">Roll</button></p>
<p id="choose"></p>
<p id="message"></p>
<p id="score"></p>
<p id="message2"></p>
<p id="message3"></p>
<script src="script.js"></script>
</body>
</html>