monorepo/kifu/kifu-pwa/src/main.ts

12 lines
251 B
TypeScript
Raw Normal View History

2023-05-10 13:42:02 +00:00
import init, { CoreApp } from "kifu-wasm";
const main = async () => {
await init();
let coreApi = new CoreApp();
let response = await coreApi.dispatch({ type: "PlayingField" });
console.log("playing field response: ", response);
};
main();