<script>
-// TODO: BoardHex for hexagonal variants (2 players)
-
import { getSquareId, getSquareFromId } from "@/utils/squareId";
import { ArrayFun } from "@/utils/array";
return h(
'div',
{
- 'class': {
- "col-sm-12": true,
- "col-md-10": true,
- "col-md-offset-1": true,
- "col-lg-8": true,
- "col-lg-offset-2": true,
- },
// NOTE: click = mousedown + mouseup
on: {
mousedown: this.mousedown,
.reserve-row-1
margin-bottom: 15px
+// NOTE: no variants with reserve of size != 8
+
div.board
float: left
height: 0
width: 9.09%
padding-bottom: 9.1%
-// NOTE: no variants with reserve of size != 8
-
.game
width: 80vh
margin: 0 auto