In process of moving GameConfig into GameState (and making it an immutable singleton for the lifetime of the game).
Still does not understand when or how to resign, or how to play the oppoent's PASS.
This commit is contained in:
@@ -10,7 +10,8 @@ public class GameStateTest {
|
||||
|
||||
@Test
|
||||
public void testGetEmptyCoords() {
|
||||
GameState gameState = new GameState(3);
|
||||
GameConfig gameConfig = new GameConfig(3);
|
||||
GameState gameState = new GameState(gameConfig);
|
||||
|
||||
gameState.playStone(Player.BLACK, "A1");
|
||||
gameState.playStone(Player.WHITE, "A2");
|
||||
|
||||
Reference in New Issue
Block a user