-
Notifications
You must be signed in to change notification settings - Fork 0
/
instructions.html
127 lines (99 loc) · 7.59 KB
/
instructions.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>The Game of Set</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;700&family=Sansita+Swashed:wght@300;400;500;700&display=swap');
</style>
<link rel="stylesheet" href="style.css" />
</head>
<body id="instructions-page-body">
<header class="secondary-page">
<button class="page-btns home-button" onclick="location='index.html';">Home</button>
<div class="title-bar">The Game of <span class="fancy-font">S</span>et</div>
</header>
<main class="instructions-page" id="instructions-page-main">
<div class="instructions-wrapper">
<h2>Instructions:</h2>
<p>The object of the game is to identify a Set of 3 cards and remove them from the board.</p>
<p>Each card has one of 3 symbols (ovals, rectangles, diamonds), one of 3 numbers (1-shape, 2-shapes, 3-shapes), one of 3 colors (teal, purple, orange), and one of 3 shadings (filled-in, outlined, shaded).</p>
<ul id="card-features-list">
<li><div>Number:</div>
<div class="card-demo card-wrapper" id="C-filled-oval-1"><div class="shape-object color-C fill-filled shape-oval"></div></div>
<div class="card-demo card-wrapper" id="C-filled-oval-2"><div class="shape-object color-C fill-filled shape-oval"></div><div class="shape-object color-C fill-filled shape-oval" ></div></div>
<div class="card-demo card-wrapper"><div class="shape-object color-C fill-filled shape-oval" ></div><div class="shape-object color-C fill-filled shape-oval" ></div><div class="shape-object color-C fill-filled shape-oval" ></div></div></didv>
</li>
<li><div>Color:</div>
<div class="card-demo card-wrapper" id="C-filled-oval-1"><div class="shape-object color-A fill-filled shape-oval"></div></div>
<div class="card-demo card-wrapper" id="C-filled-oval-1"><div class="shape-object color-B fill-filled shape-oval"></div></div>
<div class="card-demo card-wrapper" id="C-filled-oval-1"><div class="shape-object color-C fill-filled shape-oval"></div></div></li>
<li><div>Shape:</div>
<div class="card-demo card-wrapper" id="C-filled-oval-1"><div class="shape-object color-C fill-filled shape-oval"></div></div>
<div class="card-demo card-wrapper" id="C-filled-numeral-1"><div class="shape-object color-C fill-filled shape-numeral"></div></div>
<div class="card-demo card-wrapper" id="C-filled-diamond-1"><div class="shape-object color-C fill-filled shape-diamond"></div></div></li>
<li>Shading:
<div class="card-demo card-wrapper" id="C-empty-oval-1"><div class="shape-object color-C fill-empty shape-oval"></div></div>
<div class="card-demo card-wrapper" id="C-striped-oval-1"><div class="shape-object color-C fill-striped shape-oval"></div></div>
<div class="card-demo card-wrapper" id="C-filled-oval-1"><div class="shape-object color-C fill-filled shape-oval"></div></div>
</li>
</ul>
<p>A Set consists of 3 cards in which <b>each</b> of the cards' features are either <b>all the same</b> on each card, or, are <b>all different</b> on each card. All of the features must separately satisfy this rule.<i>(In other words: shape must be either the same on all 3 cards, or different on each of the 3 cards; color must be either the same on all 3 cards, or different on each of the 3, etc.)</i></p>
<h4>Game Play</h4>
<p>12 cards are played to the table. The player clicks on three cards they believe comprise a Set. If they meet the requirements, they are removed from the board and 3 new cards are placed. Otherwise, they remain on the table and play continues.</p>
<p>Examples:</p>
<div id="instr-examples-container">
<div class="instr-example-wrapper">
Same number, same color, <br /> same shape, different shading:
<div class="instr-example">
<div class="card-demo card-wrapper" id="C-empty-oval-1">
<div class="shape-object color-C fill-empty shape-oval"></div></div>
<div class="card-demo card-wrapper" id="C-striped-oval-1"><div class="shape-object color-C fill-striped shape-oval"></div></div>
<div class="card-demo card-wrapper" id="C-filled-oval-1"><div class="shape-object color-C fill-filled shape-oval"></div>
</div>
</div>
</div>
<div></div>
<div class="instr-example-wrapper">
Different number, different color,<br /> different shape, different shading:
<div class="instr-example">
<div class="card-demo card-wrapper" id="A-empty-oval-1">
<div class="shape-object color-A fill-empty shape-oval"></div>
</div>
<div class="card-demo card-wrapper" id="B-striped-numeral-2">
<div class="shape-object color-B fill-striped shape-numeral"></div>
<div class="shape-object color-B fill-striped shape-numeral"></div>
</div>
<div class="card-demo card-wrapper" id="C-filled-diamond-3">
<div class="shape-object color-C fill-filled shape-diamond"></div>
<div class="shape-object color-C fill-filled shape-diamond"></div>
<div class="shape-object color-C fill-filled shape-diamond"></div>
</div>
</div>
</div>
</div>
<p>If there is not a Set on the board, 3 more cards can be dealt to the table. Those 3 cards are not replaced when the next Set is found, reducing the number back to 12.</p>
<h4>Game Modes</h4>
<p>The traditional game of SET is generally played with all four criteria required for each Set, which can be difficult. In this game, you can select a difficulty level to make your game play the most enjoyable:</p>
<ul id="instr-mode-list">
<li><b>"Novice"</b> requires only numbers and colors to make a Set.</li>
<li><b>"Intermediate"</b> requires numbers, colors and shapes to make a Set.</li>
<li><b>"Expert"</b> is the full traditional game play.</li>
<li><b>"Ya Basic"</b> requires only numbers, and is largely included for very young players or for testing purposes.</li>
</ul>
<p>Once a Game Mode is selected and the cards are dealt, the Game Mode is locked and cannot be changed.</p>
<p class="instructions-note">Fun Fact:<br />In full traditional game play, there are ~ 33:1 odds that a Set is present in 12 cards, and ~ 2500:1 odds when 15 cards are on the table.</p>
<h4>Score</h4>
<p>Each Set is worth 3 points, times a multiplier that is based on your selected Game Mode difficulty level, (1x for basic, 2x for novice, 3x for intermediate, and 4x for expert). If the player requires a first hint, score is reduced by 1 x multiplier; a second hint costs 2 x multipler, (in other words, you get no points for using both hints). </p>
<p>All that said, I personally do not pay attention to the score at all and would rather enjoy the game as a simple yet complex game of solitaire. </p>
<p style="font-weight: bold; font-style: italic;">Enjoy!</p>
</div> <!-- end instructions-wrapper -->
</main>
<footer class="secondary-page">
<div class="footer-credits">Game design and layout by Tim Ellis, as part of the General Assembly: Software Engineering Intensive program.<br />
Based on the card game <span class="title-footer">"SET: The Family Game of Visual Perception"</span>, published by Set Enterprises, (c) 1991. </div>
</footer>
</body>
</html>