blob: 3585bec5c7e26db553609aa325d4b90db31bd290 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <stdlib.h>
#include <stdio.h>
#include <state.h>
int main(int argc, char **argv) {
reset_game();
enum ACTION_RESULT res = try_place(0, 0x0001, STONE_FLAT);
res = try_place(1, 0x0001, STONE_FLAT);
const uint8_t drops[1] = {1};
res = try_move(1, M_LEFT, 1, drops);
printf("Result: %d\n",res);
printf("%o %o \n",colours[0],celldat[0]);
}
|