eleven/eleven.h

22 lines
286 B
C
Raw Permalink Normal View History

2022-02-04 18:54:35 +00:00
#include <stdint.h>
#define SIZE 4
typedef uint8_t U8;
typedef uint32_t U32;
typedef U8 (*pTiles)[SIZE][SIZE];
enum {
DOWN, //0
UP, //1
LEFT, //2
RIGHT,
MOVES
};
void init(U8* tiles);
2023-06-29 15:56:57 +00:00
U32 move(U8* tiles, int way);
U32 moverot(U8* tiles, int way);