├── .gitignore ├── LICENSE.txt ├── README.md ├── pom.xml └── src └── main ├── java └── lk │ └── ijse │ └── dep │ ├── AppInitializer.java │ ├── Launcher.java │ ├── controller │ ├── BoardController.java │ └── CreatePlayerController.java │ ├── service │ ├── AiPlayer.java │ ├── Board.java │ ├── BoardImpl.java │ ├── BoardUI.java │ ├── HumanPlayer.java │ ├── Piece.java │ ├── Player.java │ └── Winner.java │ └── util │ └── DEPAlert.java └── resources ├── asset ├── connect-four.png ├── error.png ├── info.png └── warning.png ├── style ├── Board.css ├── CreatePlayer.css └── Style.css └── view ├── Board.fxml └── CreatePlayer.fxml /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | out/ 3 | target/ 4 | shade/ 5 | 6 | *.iml -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/README.md -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/pom.xml -------------------------------------------------------------------------------- /src/main/java/lk/ijse/dep/AppInitializer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/src/main/java/lk/ijse/dep/AppInitializer.java -------------------------------------------------------------------------------- /src/main/java/lk/ijse/dep/Launcher.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/src/main/java/lk/ijse/dep/Launcher.java -------------------------------------------------------------------------------- /src/main/java/lk/ijse/dep/controller/BoardController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/src/main/java/lk/ijse/dep/controller/BoardController.java -------------------------------------------------------------------------------- /src/main/java/lk/ijse/dep/controller/CreatePlayerController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/src/main/java/lk/ijse/dep/controller/CreatePlayerController.java -------------------------------------------------------------------------------- /src/main/java/lk/ijse/dep/service/AiPlayer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/src/main/java/lk/ijse/dep/service/AiPlayer.java -------------------------------------------------------------------------------- /src/main/java/lk/ijse/dep/service/Board.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/src/main/java/lk/ijse/dep/service/Board.java -------------------------------------------------------------------------------- /src/main/java/lk/ijse/dep/service/BoardImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/src/main/java/lk/ijse/dep/service/BoardImpl.java -------------------------------------------------------------------------------- /src/main/java/lk/ijse/dep/service/BoardUI.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/src/main/java/lk/ijse/dep/service/BoardUI.java -------------------------------------------------------------------------------- /src/main/java/lk/ijse/dep/service/HumanPlayer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/src/main/java/lk/ijse/dep/service/HumanPlayer.java -------------------------------------------------------------------------------- /src/main/java/lk/ijse/dep/service/Piece.java: -------------------------------------------------------------------------------- 1 | package lk.ijse.dep.service; 2 | 3 | public enum Piece { 4 | 5 | BLUE, GREEN, EMPTY 6 | } 7 | -------------------------------------------------------------------------------- /src/main/java/lk/ijse/dep/service/Player.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/src/main/java/lk/ijse/dep/service/Player.java -------------------------------------------------------------------------------- /src/main/java/lk/ijse/dep/service/Winner.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/src/main/java/lk/ijse/dep/service/Winner.java -------------------------------------------------------------------------------- /src/main/java/lk/ijse/dep/util/DEPAlert.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/src/main/java/lk/ijse/dep/util/DEPAlert.java -------------------------------------------------------------------------------- /src/main/resources/asset/connect-four.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/src/main/resources/asset/connect-four.png -------------------------------------------------------------------------------- /src/main/resources/asset/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/src/main/resources/asset/error.png -------------------------------------------------------------------------------- /src/main/resources/asset/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/src/main/resources/asset/info.png -------------------------------------------------------------------------------- /src/main/resources/asset/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/src/main/resources/asset/warning.png -------------------------------------------------------------------------------- /src/main/resources/style/Board.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/src/main/resources/style/Board.css -------------------------------------------------------------------------------- /src/main/resources/style/CreatePlayer.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/src/main/resources/style/CreatePlayer.css -------------------------------------------------------------------------------- /src/main/resources/style/Style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/src/main/resources/style/Style.css -------------------------------------------------------------------------------- /src/main/resources/view/Board.fxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/src/main/resources/view/Board.fxml -------------------------------------------------------------------------------- /src/main/resources/view/CreatePlayer.fxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kavithma-Thushal/connect-four-assignment/HEAD/src/main/resources/view/CreatePlayer.fxml --------------------------------------------------------------------------------