- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
if (x_sum_first_row == 3 || x_sum_second_row == 3 || x_sum_third_row == 3 ||
x_sum_first_column == 3 || x_sum_second_column == 3 || x_sum_third_column == 3 ||
x_sumDiagonalLR == 3 || x_sumDiagonalRL == 3 ||
o_sum_first_row == 3 || o_sum_second_row == 3 || o_sum_third_row == 3 ||
o_sum_first_column == 3 || o_sum_second_column == 3 || o_sum_third_column == 3 ||
o_sumDiagonalLR == 3 || o_sumDiagonalRL == 3)
someoneWon = true;
return someoneWon;
https://codereview.stackexchange.com/questions/125248/java-tic-tac-toe-game-implemented-through-mvc
pedikulez_v2 11.05.2018 03:24 # −1
santa_microbe 11.05.2018 04:50 # −1
roskomgovno 11.05.2018 03:33 # −1
yet_another_one_shit 11.05.2018 06:50 # −1
http://govnokod.ru/24201
Yuuri 11.05.2018 19:19 # +1