maps2 #2

Merged
lopar merged 23 commits from maps2 into master 2022-02-20 23:15:31 +00:00
Showing only changes of commit 498801390c - Show all commits

View File

@ -0,0 +1,43 @@
<style>
table {
border-spacing: 0;
}
td {
padding: 0;
}
.game-board {
display: grid;
grid-template-rows: 50px 50px 50px;
grid-template-columns: 50px 50px 50px;
}
.box {
display: flex;
align-items: center;
justify-content: center;
}
</style>
<form method="post" id="movement"></form>
<div class='game-board'>
<div class='box'></div>
<div class="box">
<button type='submit' name='action' value='up' form="movement">🔼</button>
</div>
<div class='box'></div>
<div class='box'>
<button type='submit' name='action' value='left' form='movement'></button>
</div>
<div class='box'>X</div>
<div class='box'>
<button type='submit' name='action' value='right' form='movement'></button>
</div>
<div class='box'></div>
<div class='box'>
<button type='submit' name='action' value='down' form='movement'>🔽</button>
</div>
<div class='box'></div>
</div>
<button type='submit' name='action' value='clear' form='movement'>Сброс</button>