Posts by Eliton Machado da Silva • 73 points
1 post
-
7
votes2
answers118
viewsQ: Many "if" in an old game for android
When checking if someone won, I need to use the IF several times. I wonder if there’s a way to simplify the code a little bit and maybe even replace the IFs. //left, top, right, bottom are int…