text: #include <stdint.h>
  #include <stdlib.h>
  #include <assert.h>
  #include <stdio.h>
  #include "gamma.h"
  #include <stdbool.h>
  #include <string.h>
  
  
  int main() {
  
  /*
  scenario: test_random_actions
  uuid: 396380194
  */
  /*
  random actions, total chaos
  */
  gamma_t* board = gamma_new(3, 2, 3, 2);
  assert( board != NULL );
  
  
  assert( gamma_move(board, 1, 1, 2) == 0 );
  assert( gamma_move(board, 1, 0, 0) == 1 );
  assert( gamma_move(board, 2, 1, 2) == 0 );
  assert( gamma_move(board, 3, 1, 0) == 1 );
  assert( gamma_move(board, 3, 0, 0) == 0 );
  assert( gamma_golden_possible(board, 3) == 1 );
  assert( gamma_move(board, 1, 1, 0) == 0 );
  assert( gamma_move(board, 1, 0, 1) == 1 );
  assert( gamma_move(board, 2, 1, 1) == 1 );
  assert( gamma_move(board, 3, 0, 2) == 0 );
  assert( gamma_move(board, 1, 0, 2) == 0 );
  assert( gamma_move(board, 2, 1, 2) == 0 );
  assert( gamma_busy_fields(board, 2) == 1 );
  assert( gamma_move(board, 3, 0, 2) == 0 );
  assert( gamma_move(board, 3, 2, 0) == 1 );
  assert( gamma_golden_possible(board, 3) == 1 );
  assert( gamma_move(board, 1, 1, 2) == 0 );
  assert( gamma_busy_fields(board, 1) == 2 );
  assert( gamma_golden_possible(board, 1) == 1 );
  
  
  char* board699623446 = gamma_board(board);
  assert( board699623446 != NULL );
  assert( strcmp(board699623446, 
  "12.\n"
  "133\n") == 0);
  free(board699623446);
  board699623446 = NULL;
  assert( gamma_move(board, 2, 1, 2) == 0 );
  assert( gamma_golden_possible(board, 2) == 1 );
  assert( gamma_move(board, 3, 2, 0) == 0 );
  assert( gamma_move(board, 3, 2, 1) == 1 );
  assert( gamma_free_fields(board, 3) == 0 );
  assert( gamma_golden_possible(board, 3) == 1 );
  
  
  gamma_delete(board);
  
      return 0;
  }
  