summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2025-01-22 09:29:20 -0500
committerLLLL Colonq <llll@colonq>2025-01-22 09:29:20 -0500
commit39a0ff935e6298193188d8569ae3cbb96807f34c (patch)
treed046b1b2485a4941cb69e0e1cc60759cfac04e41 /src/main.rs
parent47fe18171569582d1af9401013c57045b59f3774 (diff)
Update
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
new file mode 100644
index 0000000..5bbebd1
--- /dev/null
+++ b/src/main.rs
@@ -0,0 +1,8 @@
+#[cfg(target_arch = "wasm32")]
+pub fn main() {}
+
+#[cfg(not(target_arch = "wasm32"))]
+#[tokio::main]
+pub async fn main() {
+ teleia::run("teleia test", 240, 160, teleia::TestGame::new).await;
+}