-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
144 lines (125 loc) · 6.41 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Die Hard RPG Game</title>
<!-- Added a link to our external reset stylesheet-->
<link rel="stylesheet" type="text/css" href="assets/css/reset.css">
<!-- Added link to the jQuery Library -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!-- Added a link to Bootstrap-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Alegreya+Sans:800|Anton|Days+One|Lato|Oswald|Raleway:800|Roboto"
rel="stylesheet">
<!-- Added a link to our external stylesheet-->
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
</head>
<body>
<div class="container">
<div class="container bg-dark my-5 px-5 pb-5 rounded border border-light">
<h1 class="text-center py-4">CHOOSE WELL OR DIE HARD</h1>
<h2 class="pt-3" id="instructions">Choose Your Character:</h2>
<div class="row mainSelection">
</div>
<div class="row py-3">
<div class="col-lg-5 d-none" id="pcHeading">
<h2 class="text-center">Your Character:</h2>
<div class="yourCharacter mx-auto"></div>
</div>
<div class="col-lg-2 d-none mx-auto my-auto" id="fightHeading">
<button class="btn btn-danger fightBtn btn-block">Click to Fight!</button>
<!-- <button class="fightBtn">Fight</button> -->
</div>
<div class="col-lg-5 d-none" id="defenderHeading">
<h2 class="text-center">Defender:</h2>
<div class="activeDefender mx-auto"></div>
</div>
</div>
<div class="row d-none py-3" id="enemyHeading">
<h2 class="text-center" id="enemyText">Choose which enemy to Attack:</h2>
<div class="enemies row"></div>
</div>
<div class="row d-none py-3" id="defeatedHeading">
<h2 class="text-center" id="defeatedText">You beat these guys!</h2>
<div class="defeatedEnemy row mx-auto"></div>
</div>
</div>
<div class="row footer text-white bg-dark border border-light text-center rounded mx-0">
<div class="col-12">
<p class="float-left m-3"><a class="text-danger" href="https://ptmceneaney.github.io/Responsive-Portfolio/" target="_blank">Learn about the creator of this game!</a></p>
<p class='float-right m-3'>© 2019 Copyright</p>
</div>
</div>
</div>
<div class="modal bg-dark" tabindex="-1" role="dialog" id="firstModal">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="nextText">You're still alive:<br>Now you have a machine gun<br>HO-HO-HO</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="modal bg-dark" tabindex="-1" role="dialog" id="resultModal">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="winText">You did it!<br>& all enemies have been defeated:<br>Call Argyle to give you a ride home</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger btn-block" id="playAgain">Play Again</button>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
<script src="assets/javascript/game2.js" type="text/javascript"></script>
</body>
</html>
<!-- <div class="card btn character" fighterNum="0" style="width: 16rem;">
<h5 class="card-title">John McClane</h5>
<img class="card-img-top" src="assets/images/johnMcclane3.jpg" alt="John McClane">
<div class="card-body">
<p class="card-text" id="player-0"></p>
</div>
</div>
<div class="card btn character" fighterNum="1" style="width: 16rem;">
<h5 class="card-title">Hans Gruber</h5>
<img class="card-img-top" src="assets/images/hansGruber3.jpg" alt="Card image cap">
<div class="card-body">
<p class="card-text" id="player-1">180 HP</p>
</div>
</div>
<div class="card btn character" fighterNum="2" style="width: 16rem;">
<h5 class="card-title">Al Powell</h5>
<img class="card-img-top" src="assets/images/alPowell3.jpg" alt="Card image cap">
<div class="card-body">
<p class="card-text" id="player-2">120 HP</p>
</div>
</div>
<div class="card btn character" fighterNum="3" style="width: 16rem;">
<h5 class="card-title">Toni Vreski</h5>
<img class="card-img-top" src="assets/images/tonyVreski3.png" alt="Card image cap">
<div class="card-body">
<p class="card-text" id="player-3">100 HP</p>
</div>
</div> -->