We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7518d69 commit 905b9ffCopy full SHA for 905b9ff
src/main/java/scorekeep/TicTacToe.java
@@ -72,7 +72,7 @@ public static int toInt(char[] state, char turn) {
72
int len = state.length;
73
for ( int i = 1; i <= len; i++ ){
74
if ( state[len-i] == turn) {
75
- out += java.lang.Math.pow( 2, i-1 );
+ out += Math.pow( 2, i-1 );
76
}
77
78
return out;
0 commit comments