summaryrefslogtreecommitdiff
path: root/2026/framing/src/main.rs
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-05-28 20:16:38 -0400
committerLLLL Colonq <llll@colonq>2026-05-28 20:16:38 -0400
commitfa4d63110a3e12d0242b6e6ddcded74d04480f28 (patch)
tree330e6ccfe650f1fd9143f9db67b481d4c74a2e05 /2026/framing/src/main.rs
Initial commit
Diffstat (limited to '2026/framing/src/main.rs')
-rw-r--r--2026/framing/src/main.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/2026/framing/src/main.rs b/2026/framing/src/main.rs
new file mode 100644
index 0000000..25a240d
--- /dev/null
+++ b/2026/framing/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