forked from rbwatson/wlux_test_site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hearts.html
91 lines (81 loc) · 4.68 KB
/
hearts.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title> Learn Hearts! </title>
<link rel="stylesheet" type="text/css" href="default.css" />
<script>
// this is here to aid debugging only, so we don't have to manually change these
// each time we update from the upstream github repo
var host = window.location.host;
var LOCAL = (host.indexOf("localhost") != -1) ||
(host.indexOf("127.0.0.1") != -1);
if (LOCAL) {
document.write('<script src="/server/jquery.js"><\/script>\n');
document.write('<script src="/server/wlux_instrumentation.js"><\/script>');
} else {
document.write('<script src="http://staff.washington.edu/rbwatson/jquery.js"><\/script>\n');
document.write('<script src="http://staff.washington.edu/rbwatson/wlux_instrumentation.js"><\/script>');
}
</script>
<!-- for an actual site under study, you only need to include the following line
<script src="http://staff.washington.edu/rbwatson/wlux_instrumentation.min.js"></script>
-->
</head>
<body>
<div id="linksbar">
<h1><a id="home"> Learn to Play Hearts!</a> </h1>
<ol>
<li><a href="#l0">Game Objective</a></li>
<li><a href="#l1">Cards Used</a></li>
<li><a href="#l2">Dealing and Passing</a></li>
<li><a href="#l3">Playing</a></li>
</ol>
<ol>
<li>Learn:</li>
<li><a href="hearts.html">Hearts</a></li>
<li><a href="spades.html">Spades</a></li>
<ol>
</div>
<div id="maincontent">
<h2> <a id ="l0">Game Objective</a></h2>
<p>
To score the <em>least</em> amount of points possible.
</p>
<h2> <a id ="l1">Cards Used</a></h2>
<p>
A standard 52 card deck (Ace high)
</p>
<h2> <a id ="l2">Dealing and Passing</a></h2>
<p>
<strong>Dealing:</strong> <em>All</em> cards are dealt clockwise
</p>
<p>
<strong>Passing:</strong>
Three cards are passed with each hand, except for every fourth hand.
Select three cards to be passed, stack them facedown, and give them to the appropriate opponent.
You must select and pass the cards from your own hand before you can look at your new cards.
<ul>
<li>First hand: Players pass three cards from their hand to the player to their left.</li>
<li>Second hand: Players pass three cards to the player to their right.</li>
<li>Third hand: Players pass three cards to the player sitting opposite them.</li>
<li>Fourth hand: No cards are passed. This cycle of passes repeats until the end of the game.</li>
</ul>
If there are two players, alternate between first-hand and fourth-hand examples.
If there are three players, skip the third-hand example. More than four players,
decide how to do the third-hand example before the game begins,
making sure you pass to each opponent before you repeat a pass.
</p>
<h2> <a id ="l3">Playing Rounds</a></h2>
<p>
<strong>Playing:</strong> The player with the lowest club must lead it to the first trick. The play continues clockwise.
The next player must follow suit if possible. If the suit can't be followed for the first trick,
any card may be played except for a heart or the Q of spades.
Whoever plays the highest card of the suit led wins the trick and leads to the next trick.
After the first trick, a heart or the Q of spades can be "dumped" on the trick if you are out of the suit led.
Hearts can't be led until after a heart has been played as a discard to another trick (this is called "breaking hearts").
The game continues until one player has reached or exceeded 100 points at the conclusion of a hand.
</p>
<a href="#home">Back to Top</a>
</div>
</body>
</html>