-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
executable file
·129 lines (126 loc) · 7.35 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
124
125
126
127
128
129
<!DOCTYPE html>
<head>
<title>Tien Len 13 - A popular Vietnamese card game</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/styles.css">
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="js/bootstrap-collapse.js"></script>
<meta name="description" content="Tien Len 13 is a popular vietnamese card game, aka Vietnamese Cards (VC) or Thirteen. The objective of the game is to eliminate all thirteen cards in your hand before your opponents do.">
<meta name="keywords" content="vietnamese, cards, vietnamese cards, tien len 13, tien len, tien, len, thirteen, 13, card game, games, lock, buster">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<!-- Be sure to leave the brand out there if you want it shown -->
<a class="brand google-font" href="/">Tien Len 13</a>
<!-- Everything you want hidden at 940px or less, place within here -->
<div class="nav-collapse">
<ul class="nav">
<li><a href="/play">Play!</a></li>
<li><a href="#how-to-play">How to play</a></li>
<li><a href="#about-this-project">About this project</a></li>
</ul>
<!-- .nav, .navbar-search, .navbar-form, etc -->
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="span12">
<div class="hero-unit">
<h1 class="google-font">Tien Len 13</h1>
<p class="lead">A popular Vietnamese card game</p>
<p>Tien Len 13 is a popular vietnamese card game, aka Vietnamese Cards (VC) or Thirteen. The objective of the game is to eliminate all thirteen cards in your hand before your opponents do.</p>
<a class="btn btn-success btn-large" href="/play"><i class="icon-play icon-white"></i> Play Tien Len</a>
</div>
</div>
</div>
<div class="row">
<div class="span12">
<h2 id="how-to-play" class="google-font">How to play</h2>
<div class="row">
<div class="span6">
<div class="page-header">
<h3 class="google-font">Card Values and Hands</h3>
</div>
<p>The cards rank from <strong>lowest</strong> to <strong>highest</strong> as follows → 3, 4, 5, 6, 7, 8, 9, 10, J, Q, K, A, 2</p>
<p>The suits rank from <strong>lowest</strong> to <strong>highest</strong> as follows → ♠ Spades, ♣ Clubs, ♦ Diamonds, ♥ Hearts</p>
<table class="table table-condensed">
<tr>
<th>Hand Type</th>
<th>Hand</th>
</tr>
<tr>
<td>Single</td>
<td>Three♠</td>
<tr>
<tr>
<td>Pair</td>
<td>Ace♥, Ace♦</td>
<tr>
<tr>
<td>Three of a Kind</td>
<td>Jack♠, Jack♦, Jack♥</td>
<tr>
<tr>
<td>Four of a kind<strong>*</strong></td>
<td>Nine♠, Nine♣, Nine♦, Nine♥</td>
<tr>
<tr>
<td>Straight</td>
<td>Three♥, Four♦, Five♠, Six♣</td>
<tr>
<tr>
<td>Straight Lock<strong>**</strong></td>
<td>Three♠, Four♠, Five♠, Six♠</td>
<tr>
<tr>
<td>Straight Pairs<strong>*</strong></td>
<td>Three♣, Three♠, Four♠, Four♠, Five♥, Five♦</td>
<tr>
</table>
<p><strong>*</strong> This is also known as a <strong>buster</strong>. If a player plays a single 2 card (the highest card), you can play over it with this hand.</p>
<p><strong>**</strong> A player must have a straight of the same suit to beat this hand, hence the lock.</p>
</div>
<div class="span6">
<div class="page-header">
<h3 class="google-font">Game Play</h3>
</div>
<p>The goal of Tien Len is to be the first player to git rid of all your cards. The person with the lowest card starts the game and can play any of the hands (ex. Single, Straight) to start the game.</p>
<p>When a player plays a hand, the other players must play a hand of the same type. Example:</p>
<div class="well">
<p><em>Player 1</em> plays <strong>THREE♠ + THREE♥</strong> (Two of a Kind) the other players must play a <strong>Two of a Kind</strong>.</p>
<p>In the end, the player that plays the hand that noone else can beat <strong>takes over</strong> the game. At this point, the player can choose to play whatever hand he desires because he is the leader.</p>
<p><em>Rinse and repeat</em> and you have a game of <strong>Tien Len 13!</strong></p>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="span12">
<div class="page-header">
<h2 id="about-this-project" class="google-font">About this project</h2>
</div>
<p>I have a passion for cards and wanted an excuse to use <a href="http://twitter.github.com/bootstrap/">Bootstrap</a>, <a href="http://classy.pocoo.org/">Classy</a>, and HTML5</p>
<p>Want to contribute to the game? <a href="https://github.com/glenbot/Tien-Len">Fork Tien Len 13 on GitHub</a></p>
</div>
</div>
<div class="row">
<div class="span12">
<p>© 2012 Glen Zangirolami – Tien Len 13</p>
</div>
</div>
<div class="row"> </div>
</div>
</body>
</script>
</html>