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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user