aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
blob: 11b9df8b8a713616dc9a77ee37b02cf685810e9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <stdio.h>
#include "board.h"

int main() {
  char board[BOARD_BYTES];
  char structures[BOARD_BYTES];

  initialize_board(board);
  place_tile("RFRCR", translate_coordinate(24), board, 1);
  write_board(board, "board.txt");

  initialize_board(structures);
  create_structure_mask(board, structures);

  print_board(board);
  printf("\n\n");
  print_board(structures);

  evaluate_structure(translate_coordinate(24), board, structures);

  return 0;
}