Implement My Duels Screen
🚀 Feature Proposal
As a user, I want to see a list of my duels.
Motivation
Duels are a key feature of Akamu. Thus, they should be shown to the user.
Technical Details
The duel list should be sectioned:
-
Outstanding challenge requests -
Currently running (active) duels -
Finished (inactive) duels
Example
App user 'banana123' has two active duels (against users 'alpha1' and 'beta2'), one finished (against 'klaas') and one outstanding challenge request (from 'challenger99').
The challenge request from 'challenger99' will be shown in the first section in a list tile. The tile has contains the opponent's username (challenger99), his/her current title and avatar as well as two options: One for accepting and one for declining the challenge request.
The two active duels will be shown in the second section, each in its own list tile. Each tile contains the opponent's username, current title and avatar as well as the corresponding action depending on the current round status (whether 'banana123' has the next turn or his/her opponent).
The last section contains the N finished duels of 'banana123', where N is a number wwhich can be set in the user's settings and is 3 by default. If the user has only M (less than N) finished duels, these M duels will be shown. The duels are again list tiles which contain the opponent's username, current title and avatar.