diff options
| author | tslil <tslil@posteo.de> | 2020-12-28 20:56:46 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | fd22e4cf3198c1e63cf26dd5fdce588a1e969ac1 (patch) | |
| tree | 363215345250b1f0aa223ce97671589fa2837a0f /src | |
| parent | f706a6a0546400cb6a1925f25dc010ffce2afd49 (diff) | |
Started on PTN stuff
Diffstat (limited to 'src')
| -rw-r--r-- | src/ctaklm.c | 6 |
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(); } |
