Giter VIP home page Giter VIP logo

Comments (4)

gulfuroth avatar gulfuroth commented on June 27, 2024

I'd go for a simpler solution, highlighting your defeats in the matches list and adding a "X" button there that allows you to "reject" it and only allowing to do that in the 24hrs after the match.

from game-ladder.

palmerabollo avatar palmerabollo commented on June 27, 2024

This is a good approach. The issue is not related with the validation, but with how that affects to the points you have won/lost during that 24h. The elo for those players directly or indirectly related with that game should be recalculated...

Example:
A (1000 points), B (1000 points), C (1000 points)
Then:
A wins against B => A (1050 points), B (950 points), C (1000 points)
A wins against C => A (1080 points), B (950 points), C (970 points)

Now B rejects his defeat against A, should the final result be:
A (1030 points), B (1000 points), C (970 points)
or
A (1050 points), B (1000 points), C (950 points)
?

Because C is affected, as he is also indirectly related with A. That is the question, my friend.

from game-ladder.

gulfuroth avatar gulfuroth commented on June 27, 2024

Yeah, I was already aware of that. But we're already having that problem when people don't claim victories in the same order that games are played. It's what we have with the current system :-D. Shit happens.

Alternate options:

  • Track points based on previous day's position. This would also enable us to see "how much you have improved" since yesterday (+2 positions! 👍 👍 )
  • Track all games (from the last x days) and calculate scores dynamically. This would be a nice addition to prevent deserters from staying on top of the classification forever... Maybe worth a separate issue.

from game-ladder.

palmerabollo avatar palmerabollo commented on June 27, 2024

I agree. It is true that is already happening, and "time puts everyone in their place". We can go with the simple approach you proposed before. It is easy because each "Game" already has a field "elodiff", so we know how many points were assigned.

Exponential decay of points belonging to old games and advanced tracking can be addressed as a separate issue.

from game-ladder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.