Merge branch 'master' of https://gitlab.isima.fr/audorival/gomoku
This commit is contained in:
@@ -51,14 +51,13 @@ public class GomokuGame {
|
|||||||
|
|
||||||
this.board = new GomokuBoard(15, 15);
|
this.board = new GomokuBoard(15, 15);
|
||||||
this.colorP1 = colorPlayer1;
|
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.nbTokens1 = 60;
|
||||||
this.nbTokens2 = 60;
|
this.nbTokens2 = 60;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void startGame() {
|
public void startGame() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -107,7 +106,7 @@ public class GomokuGame {
|
|||||||
c = 'X';
|
c = 'X';
|
||||||
break;
|
break;
|
||||||
case WHITE:
|
case WHITE:
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case NIL:
|
case NIL:
|
||||||
c = '.';
|
c = '.';
|
||||||
|
|||||||
Reference in New Issue
Block a user