<script>
import Router from 'svelte-spa-router';

// importing all the different screens
import Home from './routes/Home.svelte';
import LevelSelect from './routes/LevelSelect.svelte';
import Game from './routes/Game.svelte';
import GameOver from './routes/GameOver.svelte';
import Win from './routes/Win.svelte';

const routes = {
  '/': Home,
  '/levelselect': LevelSelect,
  '/game': Game,
  '/gameover': GameOver,
  '/win': Win,
};
</script>

<Router {routes} />


  