-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from 0xabad1deaf/gsw_spark
Gsw spark
- Loading branch information
Showing
5 changed files
with
135 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#! /bin/bash | ||
|
||
mvn -X exec:java -Dexec.mainClass="is.abadidea.tictactoe.App" | ||
mvn package | ||
mvn exec:java -Dexec.mainClass="is.abadidea.tictactoe.App" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
.main-game{ | ||
margin: 0 auto; | ||
text-align: center; | ||
border: none; | ||
} | ||
|
||
.main-game tr{ | ||
width: 450px; | ||
height: 150px; | ||
} | ||
|
||
.main-game tr td{ | ||
width: 150px; | ||
height: 150px; | ||
border: solid 2px #333333; | ||
text-align: center; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="description" content=""> | ||
<meta name="author" content=""> | ||
|
||
<!-- Le styles --> | ||
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css"> | ||
<link href="/css/custom.css" rel="stylesheet"> | ||
<!-- font awesome --> | ||
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> | ||
<!-- HTML5 shiv, for IE6-8 support of HTML5 elements --> | ||
<!--[if lt IE 9]> | ||
<script src="http://twitter.github.io/bootstrap/assets/js/html5shiv.js"></script> | ||
<![endif]--> | ||
|
||
<!-- Fav and touch icons --> | ||
<link rel="shortcut icon" href="/static/favicon.gif"> | ||
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | ||
<meta charset="utf-8"> | ||
<title>Tic Tac Toes!</title> | ||
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | ||
</head> | ||
|
||
<body> | ||
<div class="jumbotron"> | ||
<h1> Tic Tac Toes! </h1> | ||
</div> | ||
<div class="container"> | ||
<table class="main-game"> | ||
<tr> | ||
<td id="box1"> | ||
<i class="fa fa-circle-o fa-5x"></i> | ||
</td> | ||
<td id="box2"> | ||
<i class="fa fa-check fa-5x"></i> | ||
</td> | ||
<td id="box3"> | ||
<i class="fa fa-check fa-5x"></i> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td id="box4"> | ||
</td> | ||
<td id="box5"> | ||
</td> | ||
<td id="box6"> | ||
<i class="fa fa-check fa-5x"></i> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td id="box7"> | ||
<i class="fa fa-circle-o fa-5x"></i> | ||
</td> | ||
<td id="box8"> | ||
</td> | ||
<td id="box9"> | ||
</td> | ||
</tr> | ||
</table> | ||
</div> | ||
|
||
</body> | ||
</html> | ||
|
||
<script> | ||
$( ".main-game tr td" ).click(function() { | ||
alert( "Handler for .click() called for " + this.id ); | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="description" content=""> | ||
<meta name="author" content=""> | ||
|
||
<!-- Le styles --> | ||
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css"> | ||
<link href="css/custom.css" rel="stylesheet"> | ||
<!-- font awesome --> | ||
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> | ||
<!-- HTML5 shiv, for IE6-8 support of HTML5 elements --> | ||
<!--[if lt IE 9]> | ||
<script src="http://twitter.github.io/bootstrap/assets/js/html5shiv.js"></script> | ||
<![endif]--> | ||
|
||
<!-- Fav and touch icons --> | ||
<link rel="shortcut icon" href="/static/favicon.gif"> | ||
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | ||
<meta charset="utf-8"> | ||
<title>Tic Tac Toes!</title> | ||
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | ||
</head> | ||
|
||
<body> | ||
<div class="jumbotron"> | ||
<h1> Tic Tac Toes! </h1> | ||
</div> | ||
<div class="container"> | ||
<a href="game.html"><button type="button" class="btn btn-primary btn-lg btn-block">Play vs. Computer Player</button></a> | ||
<button type="button" class="btn btn-default btn-lg btn-block">Play vs. Human Player</button> | ||
</div> | ||
|
||
</body> | ||
</html> | ||
|