aboutsummaryrefslogtreecommitdiff
path: root/projects/09/K/Main.vm
diff options
context:
space:
mode:
authorYuchen Pei <me@ypei.me>2018-01-08 16:22:46 +0100
committerYuchen Pei <me@ypei.me>2018-01-08 16:22:46 +0100
commita356d68c1c314cddbd987616f12291fc24bebf37 (patch)
tree4562ca61a2e7fcf7dd5de76b94dc68bfe3c71cd8 /projects/09/K/Main.vm
parent7e4cd1bac23f7cc02d0f14bcc6ef00357377fc2a (diff)
project 9 checkpoint
- no more compiler error - but still some bugs: - tiles get stuck - segment error (possibly due to deep copy?)
Diffstat (limited to 'projects/09/K/Main.vm')
-rw-r--r--projects/09/K/Main.vm11
1 files changed, 11 insertions, 0 deletions
diff --git a/projects/09/K/Main.vm b/projects/09/K/Main.vm
new file mode 100644
index 0000000..0a56ae9
--- /dev/null
+++ b/projects/09/K/Main.vm
@@ -0,0 +1,11 @@
+function Main.main 1
+call KGame.new 0
+pop local 0
+push local 0
+call KGame.run 1
+pop temp 0
+push local 0
+call KGame.dispose 1
+pop temp 0
+push constant 0
+return