/clash_royale_game

Clash royale clone using java and javafx

Primary LanguageJava

Clash Royale

Game screen shot

In spring 2020, in Amirkabir University of Technology, for advanced programming class, the students were tasked to create a simpler version of Clash Royal Game using javafx, and java-core.

Developers

This project was developed by Sina Shariati and Alireza Nejadipour.

Game Elements

The game had some factors such as:

  • Towers
  • Cards
  • 3D client
  • online game

Towers

The game had two kind of towers:

  • King Tower (for documentation click here)
  • Queen Tower (for documentation click here)

Cards

Clash Royale has three kind of cards: Troops, Buildings, Spells

troops

The list of Troops:

  • Barbarians (for documentation click here)
  • Archers (for documentation click here)
  • Baby Dragon (for documentation click here)
  • Wizard (for documentation click here)
  • Mini Peka (for documentation click here)
  • Giant (for documentation click here)
  • Valkyrie (for documentation click here)

spells

The list of spells:

  • Rage (for documentation click here)
  • Fire Ball (for documentation click here)
  • Arrows (for documentation click here)

buildings

The list of buildings:

  • Cannon (for documentation click here)
  • Inferno Tower(for documentation click here)

3D client

In this project we tried to use 3D elements to make the UI better, and also make the game much more similar to the main game. some screenshots of the main game area:
in game screen shot 1 in game screen shot 2 in game screen shot 3 in game screen shot 4

Online Game

In this project we tried to implement online mode using a command caster server that receives commands from clients and broadcasts it between all clients.

UML design

The design that we did for the game can be found in here.