Beispiel #1
0
  private void createGame() {
    GameDropdownItem item = (GameDropdownItem) gameDropdown.getSelectedItem();

    if (item == null) return;

    IGame game = item.game;
    Board board = game.getBoard();

    Solver solver = new Solver(board, game.getChecker());

    IJGUI.Create(board, solver);
  }
Beispiel #2
0
 @Override
 public String toString() {
   return game.getTitle();
 }