-
Notifications
You must be signed in to change notification settings - Fork 12
/
index.html
123 lines (109 loc) · 4.27 KB
/
index.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
<!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">
<meta name="Description" content="Play Shenzhen IO Solitaire online. This unique twist on standard solitaire rules offers a fresh challenge!">
<title>SHENZHEN I/O Solitaire Online</title>
<link rel="stylesheet" type="text/css" href="lib/jquery-ui.min.css">
<link rel="stylesheet" type="text/css" href="lib/jquery-ui.structure.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="preload" as="style" href="css/noimages.css">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-5SR0DS0PV2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-5SR0DS0PV2');
</script>
</head>
<body>
<div id="board">
<div id="cards"></div>
<div id="buttons">
<button class="bottom-button" id="newGame">New Game</button>
<button class="bottom-button" id="retryGame">Retry Game</button>
<button class="bottom-button music" id="playMusicButton">Play Music</button>
<button class="bottom-button music" id="pauseMusicButton">Pause Music</button>
<label id="toggleColorblindContainer" class="bottom-button" for="toggleColorblind">
<input type="checkbox" id="toggleColorblind" name="toggleColorblind" /> Colorblind
</label>
<span class="info-left-text">
<span id="win_count">?</span> wins
</span>
</div>
<button aria-label="Move Red Dragons" class="btn-dragon" id="btn_dragon_red"></button>
<button aria-label="Move Green Dragons" class="btn-dragon" id="btn_dragon_green"></button>
<button aria-label="Move White Dragons" class="btn-dragon" id="btn_dragon_white"></button>
</div>
<div class="info-text">
<main>
<h1>Shenzhen Solitare</h1>
<h2>How to Play</h2>
<p>
The goal of the game is to move all cards off the center.
</p>
<ul>
<li>Move numbered cards to the upper-right.</li>
<li>Move the 'Dragon' cards (with logos) to the upper-left.</li>
</ul>
<h3>Numbered Cards</h3>
<div class="card-text-display card-text-display--green">
3
</div>
<div class="card-text-display card-text-display--red">
9
</div>
<div class="card-text-display card-text-display--white">
1
</div>
<p>
Numbered cards can stack, with smaller numbers stacked on larger numbers.
</p>
<p>
Cards can't be stacked on Dragons, or on cards of the same suit.
</p>
<p>
Multiple number cards can be moved around if they're stacked correctly (in descending order with alternating suits).
</p>
<h3>Dragon Cards</h3>
<div class="card-logo-display">
<div class="card-logo-a"
style="background-image: url("solitaire/small_icons/dragon_green.png"); filter: sepia(100%) saturate(10000%) hue-rotate(63deg) brightness(0.35);">
</div>
</div>
<div class="card-logo-display">
<div class="card-logo-a" style="background-image: url("solitaire/small_icons/dragon_red.png");"></div>
</div>
<div class="card-logo-display">
<div class="card-logo-a" style="background-image: url("solitaire/small_icons/dragon_white.png");">
</div>
</div>
<p>
Dragon cards can't be stacked.
</p>
<p>
If all four dragons of a suit are uncovered and a slot is available, clicking the Dragon button moves
that suit to a free slot in the upper-left.
</p>
<h3>About</h3>
<p>
Adaptation created by Taylor Gratzer. Original gameplay concept by Zachtronics, from the game
<a href="http://store.steampowered.com/app/504210/">SHENZHEN I/O</a>.
<a href="https://zachtronics.bandcamp.com/track/patience">Music</a> by Matthew S Burns.
<a href="https://github.com/Nickardson/shenzhen-solitaire">GitHub Repo</a>
</p>
<p>Ideas? Comments? <a href="http://tgratzer.com/contact">Send me a message!</a></p>
<div id="image_load_error"></div>
</main>
</div>
<script src="lib/jquery-3.7.1.min.js"></script>
<script src="lib/jquery-ui.min.js"></script>
<script src="lib/jquery.ui.touch-punch.js"></script>
<script src="lib/seedrandom.min.js"></script>
<script src="js/main.js"></script>
<img id="canary" alt="" />
</body>
</html>