summaryrefslogtreecommitdiff
path: root/client/src/routes/Home.svelte
blob: 71ad324f071a5e04e40592bc0c86fde8c73cc27b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<script lang="ts">
  import GameCanvas from "../components/GameCanvas.svelte";
  import LeaderBoard from "../components/LeaderBoard.svelte";

  import { Miscellaneous } from "@engine/config";

  let width: number = Miscellaneous.WIDTH;
  let height: number = Miscellaneous.HEIGHT;
</script>

<div class="centered-game">
  <GameCanvas {width} {height} />
  <LeaderBoard />
</div>