Datasets:
ArXiv:
License:
| package battleship; | |
| import battleship.Utils.Settings; | |
| import java.io.IOException; | |
| import battleship.gui.MenuGUI; | |
| import battleship.Networking.*; | |
| import javafx.application.Application; | |
| import javafx.stage.Stage; | |
| public class BattleShip extends Application { | |
| public static boolean quit = false; | |
| public void start(Stage primaryStage) { | |
| MenuGUI menuGUI = new MenuGUI(); | |
| } | |
| public static void main(String[] args) throws IOException{ | |
| Settings settings = Settings.getInstance(); | |
| ServerManager serverManager = ServerManager.getInstance(); | |
| launch(args); | |
| BattleShip.quit = true; | |
| } | |
| } | |