aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.ts
diff options
context:
space:
mode:
authorMaksymilian Jopek <maks@jopek.eu>2022-03-16 22:34:43 +0100
committerMaksymilian Jopek <maks@jopek.eu>2022-03-16 22:34:43 +0100
commitf8c006414aec99c90558587dbe08cf1705ed44f7 (patch)
tree2f52ea7f071f91e5e53e4dfdde9cdd2b8d7cd4dc /src/main.ts
downloadboules-f8c006414aec99c90558587dbe08cf1705ed44f7.tar.gz
boules-f8c006414aec99c90558587dbe08cf1705ed44f7.tar.zst
boules-f8c006414aec99c90558587dbe08cf1705ed44f7.zip
Initial commit w/ v0.0.1
Diffstat (limited to 'src/main.ts')
-rw-r--r--src/main.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main.ts b/src/main.ts
new file mode 100644
index 0000000..9c9636a
--- /dev/null
+++ b/src/main.ts
@@ -0,0 +1,12 @@
+import './style.css'
+
+import Ball from "./Ball"
+import { genGameTable, render } from "./ui";
+
+const balls = Ball.generateStartBalls();
+Ball.generateStartBalls();
+// const map = <(Ball | null)[][]>[];
+
+genGameTable();
+
+render(balls);