We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Solution in JS. Testing for 4 conditions:
1. Row and column numbers are both even.
2. Row and column numbers are both odd.
3. Row number is odd and column number is even.
4. Row number is even and column number is odd.
Army Game
You are viewing a single comment's thread. Return to all comments →
Solution in JS. Testing for 4 conditions: 1. Row and column numbers are both even. 2. Row and column numbers are both odd. 3. Row number is odd and column number is even. 4. Row number is even and column number is odd.