-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathminesweeper.html
More file actions
106 lines (106 loc) · 3.47 KB
/
minesweeper.html
File metadata and controls
106 lines (106 loc) · 3.47 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Andrew Levy</title>
<link href="styles/style.css" rel="stylesheet" type="text/css" />
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.7.2/css/all.css"
integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr"
crossorigin="anonymous"
/>
<link href="styles/minesweeper.css" rel="stylesheet" type="text/css" />
<script src="scripts/jquery-3.3.1.min.js"></script>
<script src="scripts/minesweeper.js"></script>
</head>
<body>
<div id="Heading">
<div id="head1">
<h1>Andrew Levy</h1>
</div>
</div>
<nav class="sticky">
<ul class="top-level sticky">
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="projects.html">Projects</a></li>
<li><a href="resume.html">Resume</a></li>
<li><a class="active" href="games.html">Games</a></li>
</ul>
</nav>
<div class="Bomb"></div>
<div id="AboutMe">
<div id="head2">
<h2>Minesweeper</h2>
</div>
<p id="About">
Hello! <strong>Minesweeper</strong> is available now!
<br />
<br />
Currently, the formatting of the game is under construction. Based on
your screen size, the canvas or buttons may be in improper locations.
<br />
<br />
I will be working to fix this in the coming days, however the game
itself works, so enjoy! (Let me know if you find any bugs in the game.
Thanks!)
</p>
<div class="gameButtons">
<button id="newButton">New Game</button>
<p id="score">Flagged Mines: 0</p>
<p id="win">Game in progress</p>
<a href="games.html"><button class="backButton">Back</button></a>
</div>
<canvas id="canvas" width="502" height="502"></canvas>
<br />
<p id="About">
<strong>Minesweeper </strong>Instructions:
<br />
<br />
You are presented with a board full of squares. Some of these squares
contain mines and others don't. The squares that don't contain mines
contain the number of how many surrounding squares are mines.
<br />
<br />
If you left-click on a square containing a bomb, you lose and must
restart. If you manage to click all the squares without clicking on a
bomb, you win.
<br />
<br />
You can also right-click on a square to flag it as a mine. This will not
blow up a possible mine in the square and allow you to keep track of
which squares you think have a mine.
<br />
<br />
Good Luck!
<br />
</p>
</div>
<footer id="footer">
<section class="contact">
<h2>Contact Me:</h2>
<ul class="socialMedia">
<li>
<a
href="https://www.linkedin.com/in/andrew-levy-661032180/"
target="_blank"
><i class="fab fa-linkedin"></i
></a>
</li>
<li>
<a href="https://github.com/AndrewLevy395" target="_blank"
><i class="fab fa-github-square"></i
></a>
</li>
<li>
<a href="mailto:amlevy@wpi.edu" target="_blank"
><i class="fas fa-envelope-square"></i
></a>
</li>
</ul>
<br />
</section>
</footer>
</body>
</html>