9 lines
No EOL
292 B
JavaScript
9 lines
No EOL
292 B
JavaScript
import { init } from "./game.js";
|
|
|
|
let svgEl = document.getElementById('canvas');
|
|
let crosshairXEl = document.getElementById('crosshair_x');
|
|
let crosshairYEl = document.getElementById('crosshair_y');
|
|
|
|
|
|
var game = init(svgEl, crosshairXEl, crosshairYEl);
|
|
console.log('Initialised game', game); |