Public safe state

Do you think Milovana.com is perfect in every way? Hopefully not, so what can we do to improve? Every idea, suggestion or criticism is highly appreciated.
Post Reply
User avatar
whd
Explorer
Explorer
Posts: 69
Joined: Sat Feb 13, 2021 10:32 pm

Public safe state

Post by whd »

Proposal: Implementing a Simple Ranking System for Webteases

Some forum entries talk about tournemens etc. This would be also very interesting in webteases, particularly in tournament-style events like the "Teasefight Invitational."

To address this, I propose a lightweight system that allows a tease to store a single, standardized score for each user. This would enable creators to implement simple global ranking systems.

How It Would Work:
  • The Score: At the end of a tease, it would calculate a final performance metric (e.g., fastest time, highest score, most edges) and convert it into a normalized number between 0.0 and 1.0. The tease author would define whether a higher or lower number is better.
  • Global Storage: This single number would be saved to a user's profile in a way that is readable by the tease itself. Unlike personal save states, this "score" slot would be publicly accessible to the tease code for ranking purposes.
  • Simple Statistics: To avoid performance issues and complexity, the system would not load every user's individual score. Instead, it would automatically maintain simple aggregated statistics:
  • The highest score recorded.
  • The lowest score recorded.
  • A count of how many scores fall into each of ten brackets (0.0-0.1, 0.1-0.2, ..., 0.9-1.0).
Mechanic: The tease would need to read two things: the user's personal save state (as already implemented) and these 12 global statistical values. At the end, it could then tell the user, "Your score of 0.85 places you in the top 10% of all players," or show a percentile ranking.

Benefits & Constraints:
  • Goal-Oriented Play: Provides clear objectives like "achieve a high score," "be the fastest," or "get the most points."
  • Lightweight & Private: It tracks only one anonymized number per user per tease. No complex personal data is exposed.
  • Simple Implementation: By restricting the score to a 0-1 range and using pre-calculated statistics, we keep the system efficient and easy for tease authors to use without requiring complex data processing.
In summary, this system would allow tease authors to easily add competitive rankings and meaningful feedback, addressing the "no goal" criticism while keeping the technical implementation simple and secure.
Post Reply