A small Java desktop simulation that demonstrates defence vehicles (Helicopter, Tank, Submarine) and a control room using the Observer pattern.
- Simple simulation of multiple vehicle types (Helicopter, Tank, Submarine).
- Observer pattern for updates and control.
- Built with Java and Ant; NetBeans project files are included.
- Java 8 or newer
- Apache Ant (optional; NetBeans can build the project)
From PowerShell in the project root (where build.xml is located):
ant -f build.xml
This will compile sources into build/classes.
After building, run the main class. Example (PowerShell):
java -cp build/classes view.MainController
If you use NetBeans, open the project and run it from the IDE.
src/— Java source codebuild/— compiled classes and build outputsnbproject/— NetBeans project metadata
Feel free to open issues or submit pull requests. Add tests under the test/ folder.
This project is available under the terms of the LICENSE file.
(Replace any placeholder author/name in the LICENSE file with the correct information.)