Defrag-racing / defrag-racing-project

https://defrag.racing/
GNU Affero General Public License v3.0
4 stars 2 forks source link

Fix gametype display for records (ctf/run) #21

Open neyoneit opened 3 months ago

neyoneit commented 3 months ago

I'd like to improve the way gametypes (CTF/RUN) are displayed for maps on Defrag.racing. Currently, there seems to be some inconsistency in how gametypes are chosen and displayed.

Here are my suggestions:

Automatic Gametype Selection: The map should automatically display the gametype with the most recorded runs. This would provide a clearer indication of the map's primary focus. Example of map with normal run and ctf possibilities: https://defrag.racing/maps/r7-twins?gametype=run&sort=time&order=ASC Number of Records: Adding a number next to each displayed gametype would indicate the number of records set for that specific mode. This provides users with additional context about the map's popularity in different gametypes. Example:

For the map "sm13_ulbens" (https://defrag.racing/maps/r7-twins?gametype=run&sort=time&order=ASC), the display could show:

RUN (100) CTF.1 (20) CTF.2 (50) CTF.3 (0) (could be displayed or not) ..etc This provides a clear overview of the map's primary gametype (RUN) and the potential for CTF play (with less activity). image