summaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rwxr-xr-xsrc/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js
index 70c9695..c05662c 100755
--- a/src/index.js
+++ b/src/index.js
@@ -3,9 +3,10 @@ import { nextTurn } from "./engine/turns.js"
function start() {
+ console.log("start")
prepareBoard()
nextTurn()
}
-start()
+addEventListener("load", _ => {start()});