about summary refs log tree commit diff stats
path: root/js/ship-game/index.html
blob: 1ff3485712333b409cffef145dd2726a0df22d2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<html lang="en">
<head>
    <title>LAZER GATE 1</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        body {
            background-color: rgb(15, 16, 28);
            background-image: url("./background.jpeg");
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            padding: 0;
            margin: 0;
            border: 0;
        }
        canvas {
            cursor: crosshair;
            margin: 0;
            display: block;
        }
    </style>
</head>
<body>
    <canvas id="gameCanvas"></canvas>
    <script src="game.js"></script>
</html>