initial
This commit is contained in:
123
index.html
Normal file
123
index.html
Normal file
@ -0,0 +1,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>
|
||||
Reference in New Issue
Block a user