Class GomokuGame

java.lang.Object
GomokuGame

public class GomokuGame extends Object
  • Field Details

    • DEFAULT_BOARD_WIDTH

      public static final int DEFAULT_BOARD_WIDTH
      See Also:
    • DEFAULT_BOARD_HEIGHT

      public static final int DEFAULT_BOARD_HEIGHT
      See Also:
    • DEFAULT_TOKENS_COUNT

      public static final int DEFAULT_TOKENS_COUNT
      See Also:
    • player1

      private Player player1
    • player2

      private Player player2
    • boardWidth

      private int boardWidth
    • boardHeight

      private int boardHeight
  • Constructor Details

    • GomokuGame

      public GomokuGame()
  • Method Details

    • main

      public static void main(String[] args)
    • newGame

      public void newGame()
    • startGame

      public void startGame()
    • save

      public void save(Path filename)
    • load

      public void load(Path filename)
    • getBoard

      public GomokuBoard getBoard()