-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
129 lines (115 loc) · 4.72 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
<!doctype html>
<html lang="es">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link rel="icon" type="image/x-icon" href="https://avatars.githubusercontent.com/u/4245390?v=4">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="./style.css">
<link href="./fonts.css" rel="stylesheet">
<script async defer src="https://buttons.github.io/buttons.js"></script>
<title>Pirates' revenge</title>
</head>
<body class="hold-transition layout-top-nav">
<div id="backgroundImage" style="background-image: url('./assets/pong.png')"></div>
<div class="wrapper" id="wrapper">
<header>
<nav class="navbar navbar-expand-lg bg-white">
<div class="container-fluid mt-1">
<div>
<a class="github-button" href="https://github.com/plopez230" data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" aria-label="Follow @plopez230 on GitHub">Follow @plopez230</a>
<a class="github-button" href="https://github.com/plopez230/pirates-revenge-demo" data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" aria-label="Star plopez230/pirates-revenge-demo on GitHub">Star</a>
</div>
</div>
</nav>
</header>
<div class="container">
<div class="col">
<div class="row pt-4">
<div class="game-frame">
<div class="card text-end border-0 guest-player-info">
<h4 class="player-info" id="guest-info" style="direction: rtl;">
<span class="px-2" id="guest-score">0</span>
guest
</h4>
</div>
<img src="./assets/fox.jpg"
class="img-fluid avatar-l rounded-circle guest-player-picture" alt="">
<div class="card h-100 border-0" style="z-index: -1;">
<div class="card-body p-3 h-100">
<div class="card h-100 border-0" id="threejs-container">
</div>
<!-- Home winner -->
<span class="m-0 p-0 winner" id="home" style="display: none;">
<img src="./assets/cat.jpg"
class="img-fluid avatar-xl rounded-circle winner-picture" alt="">
<div class="card text-center winner-player-info border-0">
<h4 class="winner-info text-middle">
home
</h4>
</div>
<div class="text-center winner-title">
<h4 class="winner-info text-middle winner-text">
WINNER
</h4>
</div>
</span>
<!-- end of Home winner -->
<!-- Guest winner -->
<span class="m-0 p-0 winner" id="guest" style="display: none;">
<img src="./assets/fox.jpg"
class="img-fluid avatar-xl rounded-circle winner-picture" alt="">
<div class="card text-center winner-player-info border-0">
<h4 class="winner-info text-middle">
guest
</h4>
</div>
<div class="text-center winner-title">
<h4 class="winner-info text-middle winner-text">
WINNER
</h4>
</div>
</span>
<!-- end of Guest winner -->
</div>
</div>
<img src="./assets/cat.jpg"
class="img-fluid avatar-l rounded-circle home-player-picture" alt="">
<div class="card text-start border-0 home-player-info">
<h4 class="player-info" id="home-info">
<span class="px-2" id="home-score">0</span>
home
</h4>
</div>
</div>
</div>
</div>
<div class="col pb-4">
<div class="row">
<div class="col col-12 col-md-3"></div>
<div class="col col-12 col-md-6">
<div class="container">
<a href="https://plopez230.github.io/fdf/" target=”_blank”>
<img class="img-fluid" src="https://plopez230.github.io/fdf/assets/banner.png">
</a>
</div>
</div>
<div class="col col-12 col-md-3"></div>
</div>
</div>
</div>
</div>
<script type="importmap">
{
"imports": {
"three": "./src/threejs/three.module.js",
"three/addons/": "./src/threejs/examples/jsm/"
}
}
</script>
<script type="module" src="./src/launcher.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
</body>
</html>