-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstart.html
64 lines (52 loc) · 2.32 KB
/
start.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
<!DOCTYPE html>
<html>
<head>
<title>Dice Game</title>
<link rel="stylesheet" type="text/css" href="http://localhost/Dice_Game/style.css">
</head>
<body>
<form action="http://localhost/Dice_Game/firstRoll.php" method="post">
<!-- Heading Row -->
<div class="row">
<div class="column">
<img id="casino" src="https://i.gifer.com/BVDZ.gif">
</div>
<div class="column">
<h1>Dice Game</h1>
</div>
<div class="column">
<img id="casino" src="https://i.gifer.com/BVDZ.gif">
</div>
<!-- Heading Row Ends -->
</div>
<!-- Main Game Row -->
<div class="row1">
<div class="left">
<div class="dice">
</div>
</div>
<div class="middle">
<img src="https://media1.tenor.com/images/bfaeceee33534565cd413b59d89d6fe6/tenor.gif?itemid=4717865" >
</div>
<div class="right">
<div class="dice">
</div>
</div>
</div>
<input id="startButton" type="Submit" name="Submit" value="Play">
<!-- Main Game Row Ends -->
<div id="rules">
<h2>Rules of Casino Craps</h2>
<p>
Each round in craps starts with what is known as the come-out roll. Most casinos will require that the shooter place a bet before making this roll on either the pass line or the don’t pass line.
If the combined value of the two dice on a come-out roll equals 2, 3, or 12, then this is “crapping out” and the round is over. Players will lose pass line bets and win don’t pass bets. If the come-out roll is 7 or 11, the round is also over.
Players win pass line bets and lose don’t pass bets.
If any other value is rolled on the come-out roll i.e. 4, 5, 6, 8, 9 or 10, then a point is established, equal to the value rolled, and the round continues into the next stage.
The shooter continues to roll with players betting on the outcome of each, until they roll either a 7 or the point value that has been established.
Following a roll of either 7 or the point value, the round is over and a new come-out roll is required. It’s standard practice for the shooter to pass the dice to another player if a round ends with a 7, and to stay as shooter if the round ends with the point value being rolled.
This is essentially all there is to the basic rules of craps. What makes the game more complex are all the different bets that can be placed.
</p>
</div>
</form>
</body>
</html>