fix
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import java.io.BufferedWriter;
|
||||
import java.io.IOException;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.util.Random;
|
||||
import java.io.BufferedWriter;
|
||||
import java.io.IOException;
|
||||
import java.io.BufferedReader;
|
||||
|
||||
public class GomokuGame {
|
||||
|
||||
@@ -53,14 +55,13 @@ public class GomokuGame {
|
||||
|
||||
this.board = new GomokuBoard(15, 15);
|
||||
this.colorP1 = colorPlayer1;
|
||||
this.currP = this.player1.color == Color.WHITE ? 1: 2;
|
||||
this.currP = this.player1.color == Color.WHITE ? 1 : 2;
|
||||
this.nbTokens1 = 60;
|
||||
this.nbTokens2 = 60;
|
||||
|
||||
}
|
||||
|
||||
public void startGame() {
|
||||
|
||||
}
|
||||
|
||||
public boolean save(Path filename) {
|
||||
@@ -91,7 +92,7 @@ public class GomokuGame {
|
||||
c = 'X';
|
||||
break;
|
||||
case WHITE:
|
||||
|
||||
|
||||
break;
|
||||
case NIL:
|
||||
c = '.';
|
||||
|
||||
Reference in New Issue
Block a user