Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

🎮 Risk Game

A modern implementation of the classic Risk board game in Java, featuring a client-server architecture and a beautiful graphical user interface.

🌟 Features

  • 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

🛠️ Technologies

  • Java
  • Swing for GUI
  • Socket Programming for networking
  • Object-Oriented Design Patterns

📋 Prerequisites

  • Java Development Kit (JDK) 8 or higher
  • Maven (for building the project)

🚀 Installation

  1. Clone the repository:
git clone https://github.com/yourusername/risk-game.git
cd risk-game
  1. Build the project using Maven:
mvn clean install

🎮 How to Play

  1. Start the server:
java -jar target/risk-game-server.jar
  1. Launch the client:
java -jar target/risk-game-client.jar
  1. Enter your player name and connect to the server
  2. Wait for an opponent to join
  3. Follow the on-screen instructions to play the game

🎲 Game Rules

Turn Structure

  1. Place Armies: Receive and place armies based on territories controlled
  2. Attack: Attack adjacent territories using dice rolls
  3. Fortify: Move armies between your territories

Combat

  • 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

Victory

  • Eliminate opponent's armies
  • Capture all territories

👥 Authors

  • İzzettin Furkan Özmen

🙏 Acknowledgments

  • Classic Risk board game by Hasbro
  • All contributors who have helped with the project

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages