Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,7 @@ <h3 class="featurette-heading">Java Applets <br /><span class="text-muted">Snake
<h3 class="featurette-heading">Java Swing <br /><span class="text-muted">Minesweeper Game</span></h3>
<p class="lead">The age-old annoying Minesweeper game on Windows implemented in Java using Java Swing tools that required deep knowledge of data structures and algorithms.</p>
<a href="https://github.com/rmodi6/Minesweeper-Game" title="Source Code" target="_blank"><button class="btn btn-primary"><i class="fa fa-code"></i> Source Code</button></a>
<a href="minesweeper/Minesweeper.jar" title="Download Application"><button class="btn btn-success"><span class="glyphicon glyphicon-download-alt"></span> Application</button></a>
<a href="https://repl.it/@rmodi6/Minesweeper-Game" title="Play It!" onclick="window.open(this.href,'targetWindow'); return false;"><button class="btn btn-primary"><span class="glyphicon glyphicon-play"></span> Play</button></a>
<a href="minesweeper" title="Play It!" onclick="window.open(this.href,'targetWindow'); return false;"><button class="btn btn-success"><span class="glyphicon glyphicon-play"></span> Play</button></a>
</div>
<br />
<div class="col-sm-5 col-sm-pull-7">
Expand Down Expand Up @@ -393,8 +392,7 @@ <h3 class="featurette-heading">Java Swing <br /><span class="text-muted">Mineswe
<h3 class="featurette-heading">Artificial Intelligence <br /><span class="text-muted">Tic Tac Toe with AI</span></h3>
<p class="lead">Tic Tac Toe game (a.k.a. Noughts and Crosses) with an AI opponent that either wins or draws but never loses, developed using MiniMax Algorithm with Alpha-Beta pruning for optimization.</p>
<a href="https://github.com/rmodi6/TicTacToe-with-AI" title="Source Code" target="_blank"><button class="btn btn-primary"><i class="fa fa-code"></i> Source Code</button></a>
<a href="tictactoe/TicTacToe.jar" title="Download Application"><button class="btn btn-success"><span class="glyphicon glyphicon-download-alt"></span> Application</button></a>
<a href="https://replit.com/@rmodi6/TicTacToe-with-AI" title="Play It!" onclick="window.open(this.href,'targetWindow'); return false;"><button class="btn btn-primary"><span class="glyphicon glyphicon-play"></span> Play</button></a>
<a href="tictactoe" title="Play It!" onclick="window.open(this.href,'targetWindow'); return false;"><button class="btn btn-success"><span class="glyphicon glyphicon-play"></span> Play</button></a>
</div>
<br />
<div class="col-sm-5">
Expand Down
28 changes: 28 additions & 0 deletions minesweeper/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Minesweeper</title>
<script src="https://cjrtnc.leaningtech.com/4.2/loader.js"></script>
<style>
html, body {
margin: 0;
}

#container {
width: 100vw;
height: 100svh;
}
</style>
</head>
<body>
<div id="container"></div>
<script type="module">
await cheerpjInit();
cheerpjCreateDisplay(-1, -1, document.getElementById("container"));
const dir = location.pathname.substring(0, location.pathname.lastIndexOf("/") + 1);
await cheerpjRunJar(`/app${dir}Minesweeper.jar`);
</script>
</body>
</html>
28 changes: 28 additions & 0 deletions tictactoe/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>TicTacToe</title>
<script src="https://cjrtnc.leaningtech.com/4.2/loader.js"></script>
<style>
html, body {
margin: 0;
}

#container {
width: 100vw;
height: 100svh;
}
</style>
</head>
<body>
<div id="container"></div>
<script type="module">
await cheerpjInit();
cheerpjCreateDisplay(-1, -1, document.getElementById("container"));
const dir = location.pathname.substring(0, location.pathname.lastIndexOf("/") + 1);
await cheerpjRunJar(`/app${dir}TicTacToe.jar`);
</script>
</body>
</html>