1
0
mirror of https://github.com/thib8956/tic-tac-toe-ws.git synced 2026-02-21 07:48:12 +00:00

feat: calculate size based on screen size

This commit is contained in:
2026-02-18 10:35:58 +01:00
parent 4277a0ca48
commit ae7c3a4662
3 changed files with 53 additions and 48 deletions

View File

@@ -3,10 +3,10 @@
<head>
<title>Hello websockets</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
</head>
<body style="margin: 0; padding 0; overflow: hidden; background-color: #000000">
<canvas id="game" width="800" height="600"></canvas>
<body style="margin: 0; padding: 0; overflow: hidden; background-color: #000000; touch-action: none;">
<canvas id="game"></canvas>
</body>
<script type="module" src="client.js"></script>
</html>