Skip to content

Commit 0ea5d1a

Browse files
committed
merge things to ghpages
2 parents 864958d + aaae60a commit 0ea5d1a

File tree

8 files changed

+419
-62
lines changed

8 files changed

+419
-62
lines changed

blackjack.html

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<title>Black Jack</title>
8+
9+
<!-- Bootstrap -->
10+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
11+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.min.css">
12+
13+
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
14+
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
15+
<!--[if lt IE 9]>
16+
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
17+
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
18+
<![endif]-->
19+
20+
<link rel="stylesheet" href="blackjack.css">
21+
</head>
22+
<body>
23+
<div class="container">
24+
<h1>Black Jack <small id="score">Score: 0</small></h1>
25+
<div class="alert alert-info" role="alert" id="outcome">No message.</div>
26+
<div class="row" style="margin-bottom: 15px">
27+
<div id="btn-control" class="col-xs-12 col-sm-8 col-md-6 col-lg-5">
28+
<div class="row">
29+
<div class="col-xs-4">
30+
<button class="btn btn-success btn-block" id="btn-hit">Hit</button>
31+
</div>
32+
<div class="col-xs-4">
33+
<button class="btn btn-primary btn-block" id="btn-stand">Stand</button>
34+
</div>
35+
<div class="col-xs-4">
36+
<button class="btn btn-danger btn-block" id="btn-deal">Deal</button>
37+
</div>
38+
</div>
39+
</div>
40+
</div>
41+
<div class="panel panel-success" id="player">
42+
<div class="panel-heading">
43+
<h3 class="panel-title"><span class="glyphicon glyphicon-user"></span> Player <span class="badge">15</span></h3>
44+
</div>
45+
<div class="panel-body blackjack-board">
46+
<div class="poker poker-ca"></div>
47+
<div class="poker poker-s2"></div>
48+
<div class="poker poker-h3"></div>
49+
<div class="poker poker-d4"></div>
50+
<div class="poker poker-h5"></div>
51+
</div>
52+
</div>
53+
<div class="panel panel-danger" id="dealer">
54+
<div class="panel-heading">
55+
<h3 class="panel-title"><span class="glyphicon glyphicon-fire"></span> Dealer <span class="badge">?</span></h3>
56+
</div>
57+
<div class="panel-body blackjack-board">
58+
<div class="poker poker-back-heartstone"></div>
59+
<div class="poker poker-ck"></div>
60+
</div>
61+
</div>
62+
</div>
63+
64+
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
65+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
66+
<!-- Include all compiled plugins (below), or include individual files as needed -->
67+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
68+
69+
<script src="blackjack.js"></script>
70+
</body>
71+
</html>

images/bkg.png

1.19 KB
Loading

images/blacktocat.png

268 Bytes
Loading

index.html

+31-62
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,42 @@
1-
21
<!DOCTYPE html>
3-
<html lang="en">
2+
<html>
43
<head>
5-
<meta charset="utf-8">
6-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7-
<meta name="viewport" content="width=device-width, initial-scale=1">
8-
<title>Black Jack</title>
4+
<meta charset='utf-8'>
5+
<meta http-equiv="X-UA-Compatible" content="chrome=1">
96

10-
<!-- Bootstrap -->
11-
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
12-
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.min.css">
7+
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
8+
<link rel="stylesheet" type="text/css" href="stylesheets/pygment_trac.css" media="screen">
9+
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print">
1310

14-
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
15-
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
16-
<!--[if lt IE 9]>
17-
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
18-
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
19-
<![endif]-->
11+
<title>2014-1 jquery class by NCHUEECSeC</title>
12+
</head>
2013

21-
<link rel="stylesheet" href="blackjack.css">
22-
</head>
2314
<body>
24-
<div class="container">
25-
<h1>Black Jack <small id="score">Score: 0</small></h1>
26-
<div class="alert alert-info" role="alert" id="outcome">No message.</div>
27-
<div class="row" style="margin-bottom: 15px">
28-
<div id="btn-control" class="col-xs-12 col-sm-8 col-md-6 col-lg-5">
29-
<div class="row">
30-
<div class="col-xs-4">
31-
<button class="btn btn-success btn-block" id="btn-hit">Hit</button>
32-
</div>
33-
<div class="col-xs-4">
34-
<button class="btn btn-primary btn-block" id="btn-stand">Stand</button>
35-
</div>
36-
<div class="col-xs-4">
37-
<button class="btn btn-danger btn-block" id="btn-deal">Deal</button>
38-
</div>
39-
</div>
40-
</div>
41-
</div>
42-
<div class="panel panel-success" id="player">
43-
<div class="panel-heading">
44-
<h3 class="panel-title"><span class="glyphicon glyphicon-user"></span> Player <span class="badge">15</span></h3>
45-
</div>
46-
<div class="panel-body blackjack-board">
47-
<div class="poker poker-ca"></div>
48-
<div class="poker poker-s2"></div>
49-
<div class="poker poker-h3"></div>
50-
<div class="poker poker-d4"></div>
51-
<div class="poker poker-h5"></div>
52-
</div>
53-
</div>
54-
<div class="panel panel-danger" id="dealer">
55-
<div class="panel-heading">
56-
<h3 class="panel-title"><span class="glyphicon glyphicon-fire"></span> Dealer <span class="badge">?</span></h3>
57-
</div>
58-
<div class="panel-body blackjack-board">
59-
<div class="poker poker-back-heartstone"></div>
60-
<div class="poker poker-ck"></div>
61-
</div>
15+
16+
<header>
17+
<div class="container">
18+
<h1>2014-1 jquery class</h1>
19+
<h2>第三課期 - jQuery:透過 JS 開始用程式控制你的網頁</h2>
20+
21+
<section id="downloads">
22+
<a href="https://github.com/NCHUEECSeC/2014-1_JQuery_Class/zipball/master" class="btn">Download as .zip</a>
23+
<a href="https://github.com/NCHUEECSeC/2014-1_JQuery_Class/tarball/master" class="btn">Download as .tar.gz</a>
24+
<a href="https://github.com/NCHUEECSeC/2014-1_JQuery_Class" class="btn btn-github"><span class="icon"></span>View on GitHub</a>
25+
</section>
6226
</div>
63-
</div>
27+
</header>
6428

65-
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
66-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
67-
<!-- Include all compiled plugins (below), or include individual files as needed -->
68-
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
29+
<div class="container">
30+
<section id="main_content">
31+
<h1>
32+
<a id="第三課期---jquery透過-js-開始用程式控制你的網頁" class="anchor" href="#%E7%AC%AC%E4%B8%89%E8%AA%B2%E6%9C%9F---jquery%E9%80%8F%E9%81%8E-js-%E9%96%8B%E5%A7%8B%E7%94%A8%E7%A8%8B%E5%BC%8F%E6%8E%A7%E5%88%B6%E4%BD%A0%E7%9A%84%E7%B6%B2%E9%A0%81" aria-hidden="true"><span class="octicon octicon-link"></span></a>第三課期 - jQuery:透過 JS 開始用程式控制你的網頁</h1>
6933

70-
<script src="blackjack.js"></script>
34+
<p><a href="https://gist.github.com/taichunmin/7af2418b41c159520835">規則</a></p>
35+
<p><a href="demo.html">DEMO</a></p>
36+
<p><a href="blackjack.html">前往遊戲</a></p>
37+
</section>
38+
</div>
39+
40+
7141
</body>
7242
</html>
73-

javascripts/main.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log('This would be the main JS file.');

params.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name":"2014-1 jquery class","tagline":"第三課期 - jQuery:透過 JS 開始用程式控制你的網頁","body":"第三課期 - jQuery:透過 JS 開始用程式控制你的網頁\r\n==============\r\n[規則](https://gist.github.com/taichunmin/7af2418b41c159520835)\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}

stylesheets/pygment_trac.css

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
.highlight .c { color: #999988; font-style: italic } /* Comment */
2+
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
3+
.highlight .k { font-weight: bold } /* Keyword */
4+
.highlight .o { font-weight: bold } /* Operator */
5+
.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
6+
.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
7+
.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
8+
.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
9+
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
10+
.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
11+
.highlight .ge { font-style: italic } /* Generic.Emph */
12+
.highlight .gr { color: #aa0000 } /* Generic.Error */
13+
.highlight .gh { color: #999999 } /* Generic.Heading */
14+
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
15+
.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
16+
.highlight .go { color: #888888 } /* Generic.Output */
17+
.highlight .gp { color: #555555 } /* Generic.Prompt */
18+
.highlight .gs { font-weight: bold } /* Generic.Strong */
19+
.highlight .gu { color: #800080; font-weight: bold; } /* Generic.Subheading */
20+
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
21+
.highlight .kc { font-weight: bold } /* Keyword.Constant */
22+
.highlight .kd { font-weight: bold } /* Keyword.Declaration */
23+
.highlight .kn { font-weight: bold } /* Keyword.Namespace */
24+
.highlight .kp { font-weight: bold } /* Keyword.Pseudo */
25+
.highlight .kr { font-weight: bold } /* Keyword.Reserved */
26+
.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
27+
.highlight .m { color: #009999 } /* Literal.Number */
28+
.highlight .s { color: #d14 } /* Literal.String */
29+
.highlight .na { color: #008080 } /* Name.Attribute */
30+
.highlight .nb { color: #0086B3 } /* Name.Builtin */
31+
.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
32+
.highlight .no { color: #008080 } /* Name.Constant */
33+
.highlight .ni { color: #800080 } /* Name.Entity */
34+
.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
35+
.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
36+
.highlight .nn { color: #555555 } /* Name.Namespace */
37+
.highlight .nt { color: #CBDFFF } /* Name.Tag */
38+
.highlight .nv { color: #008080 } /* Name.Variable */
39+
.highlight .ow { font-weight: bold } /* Operator.Word */
40+
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
41+
.highlight .mf { color: #009999 } /* Literal.Number.Float */
42+
.highlight .mh { color: #009999 } /* Literal.Number.Hex */
43+
.highlight .mi { color: #009999 } /* Literal.Number.Integer */
44+
.highlight .mo { color: #009999 } /* Literal.Number.Oct */
45+
.highlight .sb { color: #d14 } /* Literal.String.Backtick */
46+
.highlight .sc { color: #d14 } /* Literal.String.Char */
47+
.highlight .sd { color: #d14 } /* Literal.String.Doc */
48+
.highlight .s2 { color: #d14 } /* Literal.String.Double */
49+
.highlight .se { color: #d14 } /* Literal.String.Escape */
50+
.highlight .sh { color: #d14 } /* Literal.String.Heredoc */
51+
.highlight .si { color: #d14 } /* Literal.String.Interpol */
52+
.highlight .sx { color: #d14 } /* Literal.String.Other */
53+
.highlight .sr { color: #009926 } /* Literal.String.Regex */
54+
.highlight .s1 { color: #d14 } /* Literal.String.Single */
55+
.highlight .ss { color: #990073 } /* Literal.String.Symbol */
56+
.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
57+
.highlight .vc { color: #008080 } /* Name.Variable.Class */
58+
.highlight .vg { color: #008080 } /* Name.Variable.Global */
59+
.highlight .vi { color: #008080 } /* Name.Variable.Instance */
60+
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
61+
62+
.type-csharp .highlight .k { color: #0000FF }
63+
.type-csharp .highlight .kt { color: #0000FF }
64+
.type-csharp .highlight .nf { color: #000000; font-weight: normal }
65+
.type-csharp .highlight .nc { color: #2B91AF }
66+
.type-csharp .highlight .nn { color: #000000 }
67+
.type-csharp .highlight .s { color: #A31515 }
68+
.type-csharp .highlight .sc { color: #A31515 }

0 commit comments

Comments
 (0)