This project involves developing a simplified Risk-style strategy game, compatible with the Warzone version of Risk. The game follows Warzone’s rules and map format, supporting command-line gameplay.
- Graph-Based Map: A world map is represented as a connected graph, where nodes are countries and edges define adjacency.
- Multiplayer Gameplay: Two or more players compete to place armies, attack adjacent countries, and * conquer territories*.
- Win Condition: The objective is to conquer all countries on the map.
For more details on Warzone's mechanics, visit Warzone.
- Java Development Kit (JDK) 21 or higher
- Apache Maven 3.6 or higher
- A terminal or IDE to run the game
- Clone the repository:
git clone https://github.com/cu-fantm/warzone
cd warzone- Build the project with Maven:
mvn clean package- Run the game:
mvn exec:javaThe project is organized into three main layers:
- Core business logic for the game.
- Manages the game flow and user interactions.
- Handles input and output for the game.
- The project requires Javadoc for all methods, enforced by Maven builds.
- It enforces the Google Java Format style.
- It is recommended to configure auto-formatting in your IDE to ensure compliance with the style guide.
This project is licensed under the MIT License.
This project was created as part of the SOEN 6441 Advanced Programming Practices graduate course at Concordia University.