A modern implementation of the classic Risk board game in Java, featuring a client-server architecture and a beautiful graphical user interface.
- Modern UI: Clean and intuitive user interface with smooth animations
- Network Play: Client-server architecture supporting online multiplayer
- Game Mechanics:
- Territory control and army placement
- Strategic combat system with dice rolling
- Continent bonuses
- Fortification phase
- Real-time game state updates
- Player Features:
- Player name customization
- Game chat system
- Rematch functionality
- Game rules display
- Turn-based gameplay
- Java
- Swing for GUI
- Socket Programming for networking
- Object-Oriented Design Patterns
- Java Development Kit (JDK) 8 or higher
- Maven (for building the project)
- Clone the repository:
git clone https://github.com/yourusername/risk-game.git
cd risk-game- Build the project using Maven:
mvn clean install- Start the server:
java -jar target/risk-game-server.jar- Launch the client:
java -jar target/risk-game-client.jar- Enter your player name and connect to the server
- Wait for an opponent to join
- Follow the on-screen instructions to play the game
- Place Armies: Receive and place armies based on territories controlled
- Attack: Attack adjacent territories using dice rolls
- Fortify: Move armies between your territories
- Attacker can roll up to 3 dice
- Defender can roll up to 2 dice
- Highest dice wins (defender wins ties)
- Must leave at least 1 army in attacking territory
- Eliminate opponent's armies
- Capture all territories
- İzzettin Furkan Özmen
- Classic Risk board game by Hasbro
- All contributors who have helped with the project