openfree commited on
Commit
b440dae
β€’
1 Parent(s): 4ff2cc7

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +17 -1
index.html CHANGED
@@ -3,7 +3,7 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Tetris Game</title>
7
  <style>
8
  * {
9
  margin: 0;
@@ -14,10 +14,20 @@
14
  body {
15
  background: #1a1a1a;
16
  display: flex;
 
17
  align-items: center;
18
  justify-content: center;
19
  min-height: 100vh;
20
  font-family: Arial, sans-serif;
 
 
 
 
 
 
 
 
 
21
  }
22
 
23
  .game-container {
@@ -60,9 +70,14 @@
60
  margin: 5px 0;
61
  font-size: 14px;
62
  }
 
 
 
 
63
  </style>
64
  </head>
65
  <body>
 
66
  <div class="game-container">
67
  <canvas id="game-board" width="300" height="600"></canvas>
68
  <div class="side-panel">
@@ -84,6 +99,7 @@
84
  </div>
85
  </div>
86
 
 
87
  <script>
88
  const canvas = document.getElementById('game-board');
89
  const ctx = canvas.getContext('2d');
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Tetris Game by MOUSE(VIDraft-mouse1.hf.space)</title>
7
  <style>
8
  * {
9
  margin: 0;
 
14
  body {
15
  background: #1a1a1a;
16
  display: flex;
17
+ flex-direction: column;
18
  align-items: center;
19
  justify-content: center;
20
  min-height: 100vh;
21
  font-family: Arial, sans-serif;
22
+ padding: 20px;
23
+ }
24
+
25
+ .title {
26
+ color: #00f0f0;
27
+ font-size: 2.5rem;
28
+ margin-bottom: 2rem;
29
+ text-align: center;
30
+ text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
31
  }
32
 
33
  .game-container {
 
70
  margin: 5px 0;
71
  font-size: 14px;
72
  }
73
+
74
+ .title strong {
75
+ color: #f0a000;
76
+ }
77
  </style>
78
  </head>
79
  <body>
80
+ <h1 class="title">Tetris Game <strong>by MOUSE(VIDraft-mouse1.hf.space)</strong></h1>
81
  <div class="game-container">
82
  <canvas id="game-board" width="300" height="600"></canvas>
83
  <div class="side-panel">
 
99
  </div>
100
  </div>
101
 
102
+ <!-- μ΄ν•˜ script 뢀뢄은 λ™μΌν•˜λ―€λ‘œ μƒλž΅ν•˜μ§€ μ•Šκ³  κ·ΈλŒ€λ‘œ 포함 -->
103
  <script>
104
  const canvas = document.getElementById('game-board');
105
  const ctx = canvas.getContext('2d');