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: 814992086
  */
  /*
  random actions, total chaos
  */
  gamma_t* board = gamma_new(6, 2, 6, 4);
  assert( board != NULL );
  
  
  assert( gamma_move(board, 1, 0, 3) == 0 );
  assert( gamma_move(board, 2, 5, 0) == 1 );
  assert( gamma_move(board, 2, 4, 1) == 1 );
  assert( gamma_move(board, 3, 0, 0) == 1 );
  assert( gamma_move(board, 4, 5, 0) == 0 );
  assert( gamma_move(board, 4, 0, 1) == 1 );
  assert( gamma_move(board, 5, 1, 2) == 0 );
  assert( gamma_move(board, 5, 2, 0) == 1 );
  assert( gamma_move(board, 6, 1, 1) == 1 );
  assert( gamma_free_fields(board, 6) == 6 );
  assert( gamma_move(board, 1, 0, 4) == 0 );
  assert( gamma_move(board, 1, 0, 0) == 0 );
  assert( gamma_move(board, 2, 1, 1) == 0 );
  assert( gamma_move(board, 2, 0, 1) == 0 );
  assert( gamma_move(board, 3, 1, 5) == 0 );
  assert( gamma_move(board, 3, 4, 0) == 1 );
  assert( gamma_move(board, 4, 1, 2) == 0 );
  assert( gamma_move(board, 4, 4, 0) == 0 );
  
  
  char* board652025661 = gamma_board(board);
  assert( board652025661 != NULL );
  assert( strcmp(board652025661, 
  "46..2.\n"
  "3.5.32\n") == 0);
  free(board652025661);
  board652025661 = NULL;
  assert( gamma_move(board, 5, 0, 3) == 0 );
  assert( gamma_move(board, 5, 1, 1) == 0 );
  assert( gamma_move(board, 6, 1, 3) == 0 );
  assert( gamma_move(board, 6, 2, 0) == 0 );
  assert( gamma_free_fields(board, 6) == 5 );
  assert( gamma_move(board, 1, 1, 5) == 0 );
  assert( gamma_move(board, 2, 0, 1) == 0 );
  assert( gamma_move(board, 2, 1, 1) == 0 );
  assert( gamma_move(board, 3, 0, 1) == 0 );
  assert( gamma_move(board, 4, 1, 2) == 0 );
  assert( gamma_move(board, 4, 0, 0) == 0 );
  assert( gamma_free_fields(board, 4) == 5 );
  assert( gamma_move(board, 6, 1, 0) == 1 );
  assert( gamma_move(board, 1, 1, 5) == 0 );
  assert( gamma_move(board, 1, 3, 0) == 1 );
  assert( gamma_move(board, 2, 1, 3) == 0 );
  assert( gamma_move(board, 2, 3, 1) == 1 );
  assert( gamma_move(board, 3, 1, 2) == 0 );
  assert( gamma_move(board, 3, 5, 1) == 1 );
  assert( gamma_move(board, 4, 1, 2) == 0 );
  assert( gamma_move(board, 5, 1, 2) == 0 );
  assert( gamma_move(board, 6, 1, 2) == 0 );
  assert( gamma_move(board, 6, 5, 1) == 0 );
  
  
  gamma_delete(board);
  
      return 0;
  }
  