mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-08-07 11:09:34 +00:00
Add end of game report window (#2598)
Resolves #1664 ## Description: Add a game ranking window, accessible through the player game history: <img width="508" height="140" alt="image" src="https://github.com/user-attachments/assets/51a628d9-628d-44c3-9776-d9b359b94e65" /> There is a lot of data players could be ranked with. Three main ranking categories with their own sub-categories: <img width="371" height="264" alt="image" src="https://github.com/user-attachments/assets/8b3b7c53-c52f-4b96-8039-23180c9181cf" /> ### Duration: Rank players according to their survival time <img width="284" height="281" alt="image" src="https://github.com/user-attachments/assets/6dfa0d11-7f5b-4f4f-81f8-f31e24ade6bf" /> ### War: #### Conquests: Number of conquered players and bots #### Bombs: Show all bomb launched by each players. Can be sorted with each category. <img width="289" height="193" alt="image" src="https://github.com/user-attachments/assets/fc0f9663-9a50-4098-b5c6-f434354accff" /> ### Economy: Show all gold earned by each players with trade, conquests, pirate or total: <img width="276" height="195" alt="image" src="https://github.com/user-attachments/assets/a925249d-b2d2-4c61-92a5-4dbf5922b32b" /> ### Responsiveness:  ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: IngloriousTom
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
overflow="hidden"
|
||||
shape-rendering="geometricPrecision"
|
||||
image-rendering="optimizeQuality"
|
||||
fill-rule="evenodd"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs1">
|
||||
<clipPath
|
||||
clipPathUnits="userSpaceOnUse"
|
||||
id="clipPath4">
|
||||
<rect
|
||||
style="fill:#ffffff"
|
||||
id="rect4"
|
||||
width="28.25"
|
||||
height="10.0625"
|
||||
x="-2.125"
|
||||
y="13.9375" />
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g
|
||||
id="g6"
|
||||
style="display:inline">
|
||||
<circle
|
||||
style="display:inline;fill:#ffffff"
|
||||
id="path1"
|
||||
cx="12.186869"
|
||||
cy="8.7946405"
|
||||
r="5.6568542" />
|
||||
<ellipse
|
||||
style="display:inline;fill:#ffffff;stroke-width:1.59306"
|
||||
id="path1-8"
|
||||
cx="12.419416"
|
||||
cy="23.649515"
|
||||
rx="9.5459414"
|
||||
ry="8.5073786"
|
||||
clip-path="url(#clipPath4)"
|
||||
transform="translate(-0.1875)" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -30,6 +30,7 @@
|
||||
"join_lobby": "Join Lobby",
|
||||
"single_player": "Single Player",
|
||||
"instructions": "Instructions",
|
||||
"game_info": "Game info",
|
||||
"wiki": "Wiki",
|
||||
"privacy_policy": "Privacy Policy",
|
||||
"terms_of_service": "Terms of Service",
|
||||
@@ -179,6 +180,29 @@
|
||||
"win_loss_ratio": "Win/Loss",
|
||||
"rank": "Rank"
|
||||
},
|
||||
"game_info_modal": {
|
||||
"title": "Game info",
|
||||
"players": "Players",
|
||||
"atoms": "Atoms",
|
||||
"hydros": "Hydros",
|
||||
"mirv": "MIRV",
|
||||
"bombs": "Bombs",
|
||||
"total_gold": "Total",
|
||||
"all_gold": "All gold",
|
||||
"trade": "Trade",
|
||||
"conquest_gold": "Conquered player gold",
|
||||
"stolen_gold": "Stolen with warships",
|
||||
"num_of_conquests": "Number of conquered players",
|
||||
"duration": "Duration",
|
||||
"survival_time": "Survival time",
|
||||
"war": "War",
|
||||
"economy": "Economy",
|
||||
"conquests": "Conquests",
|
||||
"pirate": "Pirate",
|
||||
"conquered": "Conquered",
|
||||
"loading_game_info": "Loading game stats",
|
||||
"no_winner": "This game ended with no winner"
|
||||
},
|
||||
"map": {
|
||||
"map": "Map",
|
||||
"world": "World",
|
||||
@@ -801,6 +825,7 @@
|
||||
"mode_team": "Team",
|
||||
"view": "View",
|
||||
"details": "Details",
|
||||
"ranking": "Ranking",
|
||||
"started": "Started",
|
||||
"map": "Map",
|
||||
"difficulty": "Difficulty",
|
||||
|
||||
Reference in New Issue
Block a user