Загрузить файлы в «/»
This commit is contained in:
parent
06ac4e1417
commit
04c2dc2e9d
17
index.html
17
index.html
@ -2,8 +2,8 @@
|
|||||||
<html lang="ru">
|
<html lang="ru">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" charset="utf-8">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Тетрис на JS6</title>
|
<title>Тетрис | ООП на JS</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="./css/style.css">
|
<link rel="stylesheet" href="./css/style.css">
|
||||||
|
|
||||||
@ -14,7 +14,18 @@
|
|||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="tetris-wrapper">
|
<div class="tetris-wrapper">
|
||||||
<canvas id="game-board" width="309" height="619"></canvas>
|
<!-- Новый контейнер для поля и джойстика -->
|
||||||
|
<div id="game-area-container">
|
||||||
|
<canvas id="game-board" width="309" height="619"></canvas>
|
||||||
|
|
||||||
|
<!-- Джойстик для мобильных -->
|
||||||
|
<div id="joystick-controls">
|
||||||
|
<button class="joystick-btn" id="joystick-left">←</button>
|
||||||
|
<button class="joystick-btn" id="joystick-up">↻</button> <!-- ↻ - символ поворота -->
|
||||||
|
<button class="joystick-btn" id="joystick-down">↓</button>
|
||||||
|
<button class="joystick-btn" id="joystick-right">→</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<aside class="side-panel">
|
<aside class="side-panel">
|
||||||
<h1>ТЕТРИС</h1>
|
<h1>ТЕТРИС</h1>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user