elif self.cordnates[x][0] == 1 and self.cordnates [1][1] == 2:Do you really want [1][1] there? ^^^ Regards,Ulf
elif self.cordnates[x][0] == 1 and self.cordnates [1][1] == 2: