-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStarWarsRpg.html
More file actions
123 lines (68 loc) · 3.01 KB
/
StarWarsRpg.html
File metadata and controls
123 lines (68 loc) · 3.01 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Tim Shaffer | Star Wars RPG Game </title>
<!-- Added link to the jQuery Library -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!-- Reset CSS - copied from http://meyerweb.com/eric/tools/css/reset/ -->
<link rel="stylesheet" href="./assets/css/reset.css">
<!-- Link for Bootstrap Styling -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<!-- Personal Stylesheet -->
<link rel="stylesheet" href="./assets/css/StarWarsStyle.css">
</head>
<body>
<div class="container" id="game-screen">
<div class="row">
<!-- Title Information is shown HERE -->
<div class="col-sm-12 text-white" id="title">
<h1>Star Wars RPG!</h1>
</div>
</div>
<div class="row">
<div class="col-sm-8 text-white" id="characters">
<h3>Choose a Character</h3>
<!-- Add All Possible Characters HERE -->
</div>
</div>
<div class="row">
<div class="col-sm-5 text-white" id="your-character" style="display:none">
<h3>Your Character</h3>
<!-- Add Attacker HERE-->
</div>
<div class="col-sm-7 text-white" id="your-enemies" style="display:none">
<h3>Choose an Enemy to Attack</h3>
<!-- Add Enemies HERE-->
<div class="card-deck enemies-deck">
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 text-white" id="fight-section">
<h3>Fight Section</h3>
<!-- Add an ATTACK BUTTON -->
<button id="button-attack" class="btn btn-dark p-3 m-1 attack" value="attack"><span>Attack</span></button>
</div>
</div>
<div class="row">
<div class="col-sm-5 text-white" id="defender">
<h3>Defender</h3>
<!-- Add Defender HERE-->
</div>
<div class="col-sm-7 text-white" id="message-section">
<!-- Add Messages HERE-->
</div>
</div>
<div class="row">
<div class="col-sm-12 text-white" id="restart-section">
<!-- Add a RESTART BUTTON HERE-->
</div>
</div>
</div>
<!-- Insert External Scripting -->
<script type="text/javascript" src="./assets/javascript/StarWarsGame.js"></script>
</body>
</html>