-
Final project for IJA at Faculty of Information Technology Brno University of Technology
-
For more information after compilation visit ->
/myapp/target/site/index.html -
Authors: Marian Šuľa (xsulama00), Samuel Kundrát (xkundrs00)
-
Language: Java
-
GUI: JavaFx
A wire puzzle game where the goal is to connect a power source to bulbs by rotating and placing wire connectors in a grid. The game uses an observer model and a node-based approach for managing the game state and user interface.
- common: Observer model and node model.
- game: Game logic and model.
- gui: Views and user interface.
Levels are stored in the myapp/data directory.
7 8
L 4 5 NORTH EAST SOUTH
L 5 5 NORTH EAST WEST SOUTH
L 5 4 EAST SOUTH
L 4 6 NORTH WEST
L 5 6 WEST EAST
L 3 6 NORTH SOUTH
L 3 4 EAST WEST
L 5 7 WEST NORTH
B 6 4 NORTH
B 3 3 EAST
B 2 6 SOUTH
B 4 7 SOUTH
P 3 5 WEST SOUTH
B 6 5 NORTH
- The first line contains the game size:
<row> <column> - Following lines define the nodes in the grid:
<nodeType> <row> <column> <connector side>*
- L: Connector
- B: Bulb
- P: Power source
- row: The row number (integer).
- column: The column number (integer).
- NORTH
- EAST
- SOUTH
- WEST
- Navigate to the
myappdirectory. - Clean and build the project using Maven:
mvn clean package - Run the project with JavaFX:
mvn javafx:run
- The project supports macOS with ARM CPU.



