Загрузить файлы в «/»
This commit is contained in:
parent
06ac4e1417
commit
04c2dc2e9d
17
index.html
17
index.html
@ -2,8 +2,8 @@
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" charset="utf-8">
|
||||
<title>Тетрис на JS6</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Тетрис | ООП на JS</title>
|
||||
|
||||
<link rel="stylesheet" href="./css/style.css">
|
||||
|
||||
@ -14,7 +14,18 @@
|
||||
<body>
|
||||
|
||||
<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">
|
||||
<h1>ТЕТРИС</h1>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user