<gh_stars>1-10
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: 178219667
"""
"""
random actions, total chaos
"""
board = gamma_new(6, 4, 3, 9)
assert board is not None


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


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


board632629872 = gamma_board(board)
assert board632629872 is not None
assert board632629872 == ("3123.3\n"
".3213.\n"
"...331\n"
".1.311\n")
del board632629872
board632629872 = None
assert gamma_move(board, 1, 1, 2) == 0 
assert gamma_move(board, 1, 2, 2) == 0 
assert gamma_move(board, 2, 0, 2) == 1 
assert gamma_move(board, 3, 1, 0) == 0 
assert gamma_move(board, 1, 1, 0) == 0 
assert gamma_move(board, 2, 3, 4) == 0 
assert gamma_move(board, 3, 5, 2) == 1 
assert gamma_move(board, 3, 1, 0) == 0 
assert gamma_free_fields(board, 3) == 6 
assert gamma_golden_move(board, 3, 1, 4) == 0 
assert gamma_move(board, 1, 3, 4) == 0 
assert gamma_golden_possible(board, 1) == 1 
assert gamma_move(board, 2, 1, 0) == 0 
assert gamma_golden_possible(board, 2) == 1 
assert gamma_move(board, 3, 1, 1) == 1 
assert gamma_move(board, 3, 3, 0) == 0 
assert gamma_golden_possible(board, 3) == 0 
assert gamma_move(board, 1, 3, 1) == 0 
assert gamma_move(board, 1, 1, 0) == 0 
assert gamma_move(board, 2, 0, 2) == 0 
assert gamma_move(board, 3, 5, 3) == 0 
assert gamma_move(board, 1, 1, 0) == 0 
assert gamma_golden_move(board, 1, 3, 2) == 0 
assert gamma_move(board, 2, 1, 0) == 0 
assert gamma_move(board, 2, 0, 0) == 1 
assert gamma_free_fields(board, 2) == 4 
assert gamma_move(board, 3, 3, 4) == 0 
assert gamma_busy_fields(board, 3) == 10 
assert gamma_move(board, 1, 0, 2) == 0 
assert gamma_move(board, 1, 2, 3) == 0 
assert gamma_move(board, 2, 1, 2) == 0 
assert gamma_move(board, 2, 5, 3) == 0 


board953015461 = gamma_board(board)
assert board953015461 is not None
assert board953015461 == ("3123.3\n"
"232133\n"
".3.331\n"
"21.311\n")
del board953015461
board953015461 = None
assert gamma_move(board, 3, 2, 1) == 1 
assert gamma_move(board, 1, 0, 2) == 0 
assert gamma_move(board, 2, 1, 0) == 0 
assert gamma_move(board, 3, 0, 0) == 0 
assert gamma_move(board, 3, 4, 3) == 1 
assert gamma_free_fields(board, 3) == 2 
assert gamma_move(board, 1, 0, 2) == 0 
assert gamma_move(board, 2, 3, 3) == 0 
assert gamma_move(board, 2, 0, 0) == 0 
assert gamma_golden_possible(board, 2) == 1 
assert gamma_move(board, 3, 2, 0) == 1 
assert gamma_move(board, 1, 3, 2) == 0 
assert gamma_move(board, 1, 2, 1) == 0 
assert gamma_move(board, 2, 1, 0) == 0 
assert gamma_move(board, 2, 2, 2) == 0 
assert gamma_move(board, 3, 1, 0) == 0 
assert gamma_move(board, 3, 2, 0) == 0 
assert gamma_free_fields(board, 3) == 1 


gamma_delete(board)

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: 178219667
"""
"""
random actions, total chaos
"""
board = gamma_new(6, 4, 3, 9)
assert board is not None


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


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


board632629872 = gamma_board(board)
assert board632629872 is not None
assert board632629872 == ("3123.3\n"
".3213.\n"
"...331\n"
".1.311\n")
del board632629872
board632629872 = None
assert gamma_move(board, 1, 1, 2) == 0 
assert gamma_move(board, 1, 2, 2) == 0 
assert gamma_move(board, 2, 0, 2) == 1 
assert gamma_move(board, 3, 1, 0) == 0 
assert gamma_move(board, 1, 1, 0) == 0 
assert gamma_move(board, 2, 3, 4) == 0 
assert gamma_move(board, 3, 5, 2) == 1 
assert gamma_move(board, 3, 1, 0) == 0 
assert gamma_free_fields(board, 3) == 6 
assert gamma_golden_move(board, 3, 1, 4) == 0 
assert gamma_move(board, 1, 3, 4) == 0 
assert gamma_golden_possible(board, 1) == 1 
assert gamma_move(board, 2, 1, 0) == 0 
assert gamma_golden_possible(board, 2) == 1 
assert gamma_move(board, 3, 1, 1) == 1 
assert gamma_move(board, 3, 3, 0) == 0 
assert gamma_golden_possible(board, 3) == 0 
assert gamma_move(board, 1, 3, 1) == 0 
assert gamma_move(board, 1, 1, 0) == 0 
assert gamma_move(board, 2, 0, 2) == 0 
assert gamma_move(board, 3, 5, 3) == 0 
assert gamma_move(board, 1, 1, 0) == 0 
assert gamma_golden_move(board, 1, 3, 2) == 0 
assert gamma_move(board, 2, 1, 0) == 0 
assert gamma_move(board, 2, 0, 0) == 1 
assert gamma_free_fields(board, 2) == 4 
assert gamma_move(board, 3, 3, 4) == 0 
assert gamma_busy_fields(board, 3) == 10 
assert gamma_move(board, 1, 0, 2) == 0 
assert gamma_move(board, 1, 2, 3) == 0 
assert gamma_move(board, 2, 1, 2) == 0 
assert gamma_move(board, 2, 5, 3) == 0 


board953015461 = gamma_board(board)
assert board953015461 is not None
assert board953015461 == ("3123.3\n"
"232133\n"
".3.331\n"
"21.311\n")
del board953015461
board953015461 = None
assert gamma_move(board, 3, 2, 1) == 1 
assert gamma_move(board, 1, 0, 2) == 0 
assert gamma_move(board, 2, 1, 0) == 0 
assert gamma_move(board, 3, 0, 0) == 0 
assert gamma_move(board, 3, 4, 3) == 1 
assert gamma_free_fields(board, 3) == 2 
assert gamma_move(board, 1, 0, 2) == 0 
assert gamma_move(board, 2, 3, 3) == 0 
assert gamma_move(board, 2, 0, 0) == 0 
assert gamma_golden_possible(board, 2) == 1 
assert gamma_move(board, 3, 2, 0) == 1 
assert gamma_move(board, 1, 3, 2) == 0 
assert gamma_move(board, 1, 2, 1) == 0 
assert gamma_move(board, 2, 1, 0) == 0 
assert gamma_move(board, 2, 2, 2) == 0 
assert gamma_move(board, 3, 1, 0) == 0 
assert gamma_move(board, 3, 2, 0) == 0 
assert gamma_free_fields(board, 3) == 1 


gamma_delete(board)
scenario: test_random_actions uuid: 178219667 random actions, total chaos