-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbattleship.html
156 lines (132 loc) Β· 5.98 KB
/
battleship.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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<!DOCTYPE html>
<html lang="en">
<head>
<link rel=icon href=/favicon.png> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>James Atkin</title>
<!-- Font Awesome Icons -->
<script src="https://use.fontawesome.com/134696755a.js"></script>
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Merriweather+Sans:400,700" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Merriweather:400,300,300italic,400italic,700,700italic'
rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Alata&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=PT+Mono&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Kiwi+Maru&display=swap" rel="stylesheet">
<!-- Plugin CSS -->
<link href="vendor/magnific-popup/magnific-popup.css" rel="stylesheet">
<!-- Theme CSS - Includes Bootstrap -->
<link href="css/creative.css" rel="stylesheet">
</head>
<body id="page-top">
<!-- Navbar/header -->
<div class="header" id="header">
<div class="logo">
<a href="index.html" class="link">
<div class="title">James Atkin</div>
</a>
</div>
<div class="menu">
<!-- <a href="#about" class="link-about">
<div class="title">About</div>
<div class="bar"></div>
</a> -->
<a href="index.html#portfolio" class="link-projects">
<div class="title">Projects</div>
</a>
<!-- <a href="#cv" class="link-cv">
<div class="title">CV</div>
<div class="bar"></div>
</a> -->
<a href="index.html#contact" class="link-contact">
<div class="title">Contact</div>
</a>
<!-- <button class="btn dark-mode" onclick="toggleLightDark()" id="btnToggle" style="font-size: 22pt;"><i class="fa fa-moon-o fa"></i></button> -->
<a onClick="toggleLightDark()" class="icon-button dark" id="btnToggle">
<i class="fa fa-moon-o"></i><span></span>
</a>
</div>
</div>
<script src="toggleDarkMode.js"></script>
<!-- Main page -->
<div class="main">
<!-- About Section -->
<section class="about" id="about">
<div class="intro">
<h4>Battleship Antarctica</h4>
<p>Battleship Antarctica is a 2D arcade-style shooter game written in Java. Players
control battleships fighting amongst the icecaps of Antarctica, aiming to be the last one
standing. Pickups are available to alter gameplay in various ways.</p>
<p>The game was developed as part of a team project in my second year of uni. It features a custom
built rendering and physics engine, procedural terrain generation using Perlin noise, and supports singleplayer and multiplayer modes.</p>
</div>
</section>
<!-- Screenshots Section -->
<section class="page-section" id="screenshots">
<div class="container">
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<!-- <li data-target="#carouselExampleIndicators" data-slide-to="2"></li> -->
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img class="d-block w-100" src="img/portfolio/fullsize/title_screen.png" alt="First slide">
</div>
<div class="carousel-item">
<img class="d-block w-100" src="img/portfolio/battleship/1.png" alt="Second slide">
</div>
<!-- <div class="carousel-item">
<img class="d-block w-100" src="img/portfolio/fullsize/title_screen.png" alt="Third slide">
</div> -->
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</section>
<script>
$(document).ready(function () {
var imagelength = $(".carousel-indicators").find("li").length; //get the carousel slide length
var currentindex = 0;
$('#myCarousel').carousel(currentindex); //Cycles the carousel to a particular frame (0 based, similar to an array).
setInterval(function () { //Use setInterval method to change images.
currentindex += 2;
if (currentindex > imagelength) {
currentindex = 0;
}
$('#myCarousel').carousel(currentindex)
}, 2500);
});
</script>
<!-- CV Section -->
<section class="github-section" id="github-section">
<p>The game can be downloaded as a JAR file below.</p>
<a class="btn" href="downloads/BattleshipAntarctica.jar">Download</a>
</section>
</div>
<!-- Footer -->
<footer class="bg-white py-5">
<div class="container">
<div class="small text-center text-muted">© JAMES ATKIN 2020</div>
</div>
</footer>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Plugin JavaScript -->
<script src="vendor/jquery-easing/jquery.easing.min.js"></script>
<script src="vendor/magnific-popup/jquery.magnific-popup.min.js"></script>
<!-- Custom scripts for this template -->
<script src="js/creative.min.js"></script>
</body>
</html>