My stripped code:
board = [] # 2 dimensional matrix (not showed here)
def build_ships():
    if (
        small_ship(board) == 1
    ):
        # When small_ships returns 1 it doesn't do anything, just ignores my code below
        code_2 clearing board to default
        build_ships()
        return 0
def small_ship(board):
    try:
        code_1 with recursions
    except RecursionError:
        return 1
build_ships()
What am I missing?? I'm blind or missing some important rule here.
Thanks for help
When there's recursion error, it should start over with a clear board, instead it just ignores the code to start over with a clear board and do Nothing at all.
