ruudukko[2] == ruudukko[3] && ruudukko[3] == 1 || ruudukko[1] == ruudukko[2] && ruudukko[2] == ruudukko[3] && ruudukko[3] == 2 ) {
return false;
}
you dont need the thing after || You dont need an OR and you dont need ruudukko[3] == 1 too
Обсуждают сегодня