diff options
| author | LLLL Colonq <llll@colonq> | 2025-01-22 09:26:41 -0500 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2025-01-22 09:26:41 -0500 |
| commit | f448de77d84b985047a332150c0382adc1836899 (patch) | |
| tree | 3003bfa2f8a74e08986ee6c0de7ad52edceb8302 /src/lib.rs | |
Initial commit
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..de8c271 --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,10 @@ +mod newton; + +#[cfg(target_arch = "wasm32")] +use wasm_bindgen::prelude::*; + +#[cfg(target_arch = "wasm32")] +#[wasm_bindgen] +pub async fn main_js() { + teleia::run(240, 160, newton::client::Game::new).await; +} |
