-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstar_wars_rpg.html
63 lines (46 loc) · 1.76 KB
/
star_wars_rpg.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
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<title>Homework Assignment 4</title>
<!--Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Share+Tech+Mono" rel="stylesheet" type="text/css">
<!-- jQuery -->
<script type = "text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<!--Game Logic -->
<script type="text/javascript" src="assets/javascript/starwars.js"></script>
<!-- CSS -->
<link rel="stylesheet" href="assets/css/styles.css">
</head>
<body>
<div class = "main-section-title">Star Wars RPG! Battle of heroes!</div>
<div id = "main-game-section">
<!--Where your hero intially available to select-->
<div id="character-section">
<div class = "section-title">Choose Your Hero!</div>
</div>
<!--The section where you selected your own hero-->
<div id ="selected-section">
<div class = "section-title">Your Hero!</div>
<!--Where your selected hero should be-->
<div id = "selected-hero"></div>
</div>
<!--Section for the battle oppent partner-->
<div id="opponent-section">
<div class="opponent">Choose your battle partner</div>
</div>
<div class = "training-battle-section">Battle Section</div>
<div class="battle-section">
<button id = "attackBtn">Attack</button>
</div>
<div class="defenderBox">
<div class = "character">
<div class = "section-title">Defender</div>
<!--The area where the other characters as your training partner-->
<div id = "defender"></div>
</div>
</div>
<!-- Area for game messages-->
<div id = "game-message"></div>
</body>
</html>