aboutsummaryrefslogtreecommitdiff
path: root/src/ctaklm.c
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2020-12-28 20:56:46 -0500
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commitfd22e4cf3198c1e63cf26dd5fdce588a1e969ac1 (patch)
tree363215345250b1f0aa223ce97671589fa2837a0f /src/ctaklm.c
parentf706a6a0546400cb6a1925f25dc010ffce2afd49 (diff)
Started on PTN stuff
Diffstat (limited to 'src/ctaklm.c')
-rw-r--r--src/ctaklm.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ctaklm.c b/src/ctaklm.c
index bbf815c..3585bec 100644
--- a/src/ctaklm.c
+++ b/src/ctaklm.c
@@ -1,10 +1,10 @@
#include <stdlib.h>
#include <stdio.h>
-#include <tak.h>
+#include <state.h>
int main(int argc, char **argv) {
- init_game();
+ reset_game();
enum ACTION_RESULT res = try_place(0, 0x0001, STONE_FLAT);
res = try_place(1, 0x0001, STONE_FLAT);
@@ -13,6 +13,4 @@ int main(int argc, char **argv) {
printf("Result: %d\n",res);
printf("%o %o \n",colours[0],celldat[0]);
-
- free_game();
}