diff options
| author | LLLL Colonq <llll@colonq> | 2026-04-28 13:39:34 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-04-28 13:39:34 -0400 |
| commit | ea5929c74a4e01bcbc776832b5597fceb5261a31 (patch) | |
| tree | 12c94e3eb8a97665212a8bbac4f090638c53f6ce /src/main.rs | |
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..25a240d --- /dev/null +++ b/src/main.rs @@ -0,0 +1,9 @@ +mod game; + +#[cfg(not(target_arch = "wasm32"))] +pub fn main() -> teleia::Erm<()> { + teleia::run("game", 240, 160, teleia::Options::empty(), game::Game::new) +} + +#[cfg(target_arch = "wasm32")] +pub fn main() {} // dummy main, real wasm32 main is lib::main_js |
