Add platform-specific implementations for assets, audio, WebSocket, and rendering on Desktop and WebAssembly platforms. Introduce embedded assets for WebAssembly and native file handling for Desktop. Add platform-specific chunk loading and game state synchronization.

This commit is contained in:
Sebastian Unterschütz committed 2026-01-04 01:25:04 +01:00
1 parent 85d697df19
commit 3232ee7c2f
86 files changed
+4930 -485

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
//go:build !wasm
// +build !wasm
package main
// sendGameOverToJS ist ein Stub für Native (kein HTML)
func (g *Game) sendGameOverToJS(score int) {
// Native hat kein HTML-Overlay, nichts zu tun
}