use wasm_bindgen::prelude::wasm_bindgen; pub mod constants; pub mod board; pub mod dictionary; pub mod player_interaction; #[wasm_bindgen] extern { pub fn alert(s: &str); } #[wasm_bindgen] pub fn greet(name: &str) { alert(&format!("Hello, {}!", name)); }