from part1 import (
    gamma_board,
    gamma_busy_fields,
    gamma_delete,
    gamma_free_fields,
    gamma_golden_move,
    gamma_golden_possible,
    gamma_move,
    gamma_new,
)

"""
scenario: test_random_actions
uuid: 599891664
"""
"""
random actions, total chaos
"""
board = gamma_new(5, 5, 2, 15)
assert board is not None


assert gamma_move(board, 1, 1, 2) == 1 
assert gamma_move(board, 1, 1, 3) == 1 
assert gamma_move(board, 1, 3, 4) == 1 


board158249771 = gamma_board(board)
assert board158249771 is not None
assert board158249771 == ("...1.\n"
".1...\n"
".1...\n"
".....\n"
".....\n")
del board158249771
board158249771 = None
assert gamma_move(board, 2, 3, 0) == 1 
assert gamma_move(board, 2, 4, 2) == 1 
assert gamma_move(board, 1, 4, 2) == 0 
assert gamma_golden_possible(board, 1) == 1 
assert gamma_move(board, 2, 3, 3) == 1 
assert gamma_move(board, 2, 0, 3) == 1 
assert gamma_move(board, 1, 1, 2) == 0 
assert gamma_move(board, 1, 4, 4) == 1 
assert gamma_move(board, 2, 1, 1) == 1 
assert gamma_move(board, 2, 2, 1) == 1 
assert gamma_busy_fields(board, 2) == 6 
assert gamma_move(board, 1, 0, 4) == 1 
assert gamma_move(board, 1, 0, 4) == 0 
assert gamma_move(board, 2, 2, 3) == 1 
assert gamma_move(board, 2, 2, 4) == 1 
assert gamma_move(board, 1, 2, 3) == 0 
assert gamma_move(board, 1, 0, 0) == 1 
assert gamma_move(board, 2, 0, 4) == 0 
assert gamma_move(board, 1, 1, 0) == 1 
assert gamma_move(board, 2, 2, 3) == 0 


board252327902 = gamma_board(board)
assert board252327902 is not None
assert board252327902 == ("1.211\n"
"2122.\n"
".1..2\n"
".22..\n"
"11.2.\n")
del board252327902
board252327902 = None
assert gamma_move(board, 1, 2, 4) == 0 
assert gamma_move(board, 1, 2, 0) == 1 
assert gamma_move(board, 2, 2, 4) == 0 
assert gamma_move(board, 1, 4, 2) == 0 
assert gamma_busy_fields(board, 1) == 8 
assert gamma_golden_move(board, 1, 1, 2) == 0 
assert gamma_move(board, 2, 1, 3) == 0 
assert gamma_move(board, 1, 4, 0) == 1 
assert gamma_move(board, 2, 2, 3) == 0 
assert gamma_move(board, 2, 3, 3) == 0 
assert gamma_busy_fields(board, 2) == 8 
assert gamma_move(board, 1, 0, 0) == 0 
assert gamma_busy_fields(board, 1) == 9 
assert gamma_move(board, 2, 2, 0) == 0 
assert gamma_move(board, 1, 3, 1) == 1 
assert gamma_move(board, 1, 1, 1) == 0 
assert gamma_golden_possible(board, 1) == 1 
assert gamma_move(board, 2, 2, 2) == 1 
assert gamma_move(board, 2, 2, 3) == 0 
assert gamma_move(board, 1, 0, 4) == 0 
assert gamma_move(board, 2, 2, 2) == 0 
assert gamma_move(board, 2, 1, 1) == 0 
assert gamma_free_fields(board, 2) == 6 
assert gamma_move(board, 1, 4, 1) == 1 
assert gamma_move(board, 1, 3, 2) == 1 
assert gamma_move(board, 2, 3, 4) == 0 
assert gamma_move(board, 1, 3, 4) == 0 
assert gamma_move(board, 1, 0, 3) == 0 
assert gamma_move(board, 2, 1, 0) == 0 
assert gamma_busy_fields(board, 2) == 9 
assert gamma_free_fields(board, 2) == 4 
assert gamma_move(board, 1, 3, 4) == 0 
assert gamma_move(board, 1, 0, 2) == 1 
assert gamma_move(board, 2, 4, 1) == 0 
assert gamma_move(board, 2, 4, 1) == 0 
assert gamma_move(board, 1, 2, 0) == 0 
assert gamma_move(board, 1, 2, 1) == 0 
assert gamma_move(board, 2, 3, 4) == 0 
assert gamma_move(board, 2, 2, 1) == 0 
assert gamma_move(board, 1, 1, 0) == 0 
assert gamma_move(board, 1, 4, 1) == 0 
assert gamma_move(board, 2, 1, 4) == 1 


board923118061 = gamma_board(board)
assert board923118061 is not None
assert board923118061 == ("12211\n"
"2122.\n"
"11212\n"
".2211\n"
"11121\n")
del board923118061
board923118061 = None
assert gamma_move(board, 1, 1, 0) == 0 
assert gamma_move(board, 2, 2, 3) == 0 
assert gamma_move(board, 1, 3, 4) == 0 
assert gamma_move(board, 1, 2, 1) == 0 
assert gamma_golden_move(board, 1, 2, 2) == 1 
assert gamma_move(board, 2, 1, 2) == 0 
assert gamma_move(board, 1, 1, 0) == 0 
assert gamma_move(board, 2, 3, 4) == 0 
assert gamma_free_fields(board, 2) == 2 
assert gamma_move(board, 1, 1, 0) == 0 
assert gamma_move(board, 2, 1, 0) == 0 
assert gamma_move(board, 1, 3, 4) == 0 
assert gamma_golden_possible(board, 1) == 0 
assert gamma_move(board, 2, 1, 4) == 0 
assert gamma_move(board, 1, 1, 0) == 0 
assert gamma_busy_fields(board, 1) == 14 
assert gamma_move(board, 2, 3, 1) == 0 


gamma_delete(board)
