Ehi...perchè questa riga di programmazione mi restituisce un errore?
codice:
if (x ==0 && player ==1 || x= 1 && player == 2 || x ==2 && player ==0)
mi restituisce
codice:
incomparable types: java.lang.String[] and int
if (x ==0 && player ==0 || x= 1 && player == 1 || x ==2 && player ==2)

con....
codice:
int player  = console.readInt();
int x = (int)Math.random() * 2;