add ship wreck detection

This commit is contained in:
sparshg
2024-09-19 21:05:25 +05:30
parent 0242a92ab2
commit 68764fc461
9 changed files with 244 additions and 151 deletions

View File

@@ -3,7 +3,8 @@
import Header from '$lib/header.svelte';
import { State } from '$lib/state.svelte';
let gameState = new State();
const hostname = window.location.hostname;
let gameState = new State(hostname);
</script>
<div class="min-h-screen bg-base-300 py-8 px-4 sm:px-6 lg:px-8">