-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (71 loc) · 4.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Naruto tic-tac-toe</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css?family=Ceviche+One|Acme|Fugaz+One" rel="stylesheet">
</head>
<body>
<header><img id="headerPic" src="images/headerPic.jpg" alt=""><h1>NARUTO tic-tac-toe</h1></header>
<audio id="audio" src="sounds/Jutsu2.mp3"></audio>
<audio id="theme" src="sounds/theme.mp3"></audio>
<audio id="p1_jutsu" src="sounds/rasengen.mp3"></audio>
<audio id="p2_jutsu" src="sounds/chidori.mp3"></audio>
<audio id="draw_jutsu" src="sounds/jutsu_finger.mp3"></audio>
<audio id="kage_bunshin" src="sounds/Kage_Bunshin.mp3"></audio>
<audio id="sharingan" src="sounds/Sharingan.mp3"></audio>
<div id="overlay">
<div class="charContainer">
<div class="title"><h3>Please Select Your Avatars</h3><button onclick="playTheme(), playSound()">Play</button></div>
<div class="charP1" id="char1">P1<img src="images/naruto-head.png" alt=""><span>Naruto</span></div>
<div class="charP1" id="char2">P1<img src="images/sakura-head.jpg" alt=""><span>Sakura</span></div>
<span id="vs">VS</span>
<div class="charP2" id="char3">P2<img src="images/sasuke-head.png" alt=""><span>Sasuke</span></div>
<div class="charP2" id="char4">P2<img src="images/kakashi-head.jpg" alt=""><span>Kakashi</span></div>
</div>
</div>
<div class="modal fade" id="resultModal" tabindex="-1" role="dialog" aria-labelledby="resultCenterTitle"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="dialog">
<div class="modal-content" style="border: none; background: none;">
<div class="modal-footer" style="border-radius: 12px; border:2px solid black;background: rgba(255, 255, 255, 0.8)">
<button id="restart" type="button" class="btn btn-secondary" data-dismiss="modal" onclick="playSound()">Next Round</button>
<button id="startNew" type="button" class="btn btn-primary" data-dismiss="modal" onclick="playSound()">Start New Game</button>
</div>
</div>
</div>
</div>
<div class="container">
<div class="p1"><h3>Naruto</h3><p>Games Won: </p><span>0</span><img id="player1Pic" src="images/naruto1.png" alt=""><img class="token" id="t1" src="images/naruto-logo.png" alt=""></div>
<div class="board">
<div class="grids" id="g0"></div>
<div class="grids" id="g1"></div>
<div class="grids" id="g2"></div>
<div class="grids" id="g3"></div>
<div class="grids" id="g4"></div>
<div class="grids" id="g5"></div>
<div class="grids" id="g6"></div>
<div class="grids" id="g7"></div>
<div class="grids" id="g8"></div>
</div>
<div class="p2"><h3>Sasuke</h3><p>Games Won: </p><span>0</span><img id="player2Pic" src="images/sasuke.png" alt=""><img class="token" id="t2" src="images/sasuke-logo.png" alt=""></div>
</div>
<div class="message">Welcome to NARUTO tic-tac-toe.</div>
<!-- <div class="buttonContainer">
<button id="restart" onclick="playSound()">Next Round</button>
<button id="startNew" onclick="playSound()">New Game</button>
</div> -->
<footer>created by Robbie Cheng</footer>
<script src="app.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
crossorigin="anonymous"></script>
</body>
</html>