This is a game create by supercell, and we have created a small model of it for advance programming course at Amirkabir University of Technology - Spring 2021!
Although It has a class diagram which you can check hear (FYI: it must be opened by diagrams.io), It may be hard to figure out what is what! but we have provided class with proper name and comments to help you through this process!
Most of assets are gathered from open source github repos and some of them are created by ourself anyway you are free to use this code and improve it but remember the name of us and do not remove our name from created class by this team!
If you like to improve the project contact me!
I hope you engoy!
This is the first part you face when you load the game!
At this stage the program tries to load all needed resources.
At this page you can sign up (create new account) or log in into your previous account!
- remember: if you log into an account you will be automatically logged in next time you run the app! to get out of account you have to log out.
This is main menu of our clash royale game ^-^.
You can see youe XP and coins! also there is two buttons at top:
1 - Profile: You can check your profile information!
2 - Last Games: You can see prevous game results!
There is a arena image which you can check your current arena image. it changes by increasing level :)
You can use Battle button to bring up battle type menu.
At buttom of this page you can see slider bar, you can use it to switch between main menu and deck editor menu!
You can modify your deck hear!
Full your deck before battle and then go to battle :)
You can check your profile information here.
It shows your username, level, cups and current arena that you are in.
Also you can log out og this account by using 'log out'.
You can see your previous match results here!
You can chose type of battle here!
For now only offline battles are available :)
This is battle filed! it is a 18x30 tiles field, it is built using tile engine.
Also there is a game engine (Game Manager) which observe the game process!
At top you can see left time of battle!
At buttom you can see you deck and elixir bar! Select your card and put it in map, nice and easy
This page show result of battle! it will be displayed when we have a winner or times is up :)