is_allowed_move now accepts both board as argument