The operator == is undefined for the argument type(s) int, null
>>59030808
Check your values for x and y.
>>59030808
its an int array
ints cant be null
just say shit[x][y].Length == 0
>scacchiera
>>59030808
int is not an object
use Integer if you want to go full OOP
>>59030808
change language and use C
>>59030808
define your array as Optional Int.