PDA

View Full Version : Leaderboard



Cryptonic
September 29th, 2016, 10:58 AM
I don't think this is something that is a priority, or anything like that, but I think a leaderboard system would encourage activity once this gets more popular.

Like having an All-Time leader board, and then another that resets every month. The ones that reset could be saved and stored so people can look back and have bragging rights lol

DarknessB
September 29th, 2016, 11:12 AM
Agreed -- people like that sense of accomplishment as well as competing with each other. Could be as simple as number of games played, number of wins, number of wins per faction (or if you want to get into the weeds, by role), etc.

Voss
September 29th, 2016, 11:35 AM
I'm definitely one of those people haha.

yeah, this is a good idea.

to further expand on this idea, (and if computationally possible) I'd like to do a point system where points are given out based on how hard the setup is to win for your faction, but that'd require some more AI work.

Brendan
September 29th, 2016, 07:16 PM
I'm definitely one of those people haha.

yeah, this is a good idea.

to further expand on this idea, (and if computationally possible) I'd like to do a point system where points are given out based on how hard the setup is to win for your faction, but that'd require some more AI work.

That would be cool. I think the formulas would be pretty hard to create though with all of the roles. Elixir could probably help with that.

Cryptonic
September 29th, 2016, 08:17 PM
That would be cool. I think the formulas would be pretty hard to create though with all of the roles. Elixir could probably help with that.

Yea, it would be with a point system. Win/Loss wouldn't be as hard, but could easily be exploited.

Voss
September 29th, 2016, 11:56 PM
once i finish mobile, i can do some more ai work, and get it to a point where i can crowdsource community ideas on how to improve the AI.

Voss
February 2nd, 2017, 12:52 AM
Elixir tapping you in here for input here as I'm ready to implement this now! or anyone else if they want. i'll throw a couple of ideas down tomorrow.

Elixir
February 3rd, 2017, 02:21 AM
Thou summon and I heed thy call.

I'd need to ask Rev about the map tbh but I'm pretty sure the points handed out at games end of the map aren't terribly complicated. Its kind of a mixture of:

a) how many people are on your team / share your alignment and win condition
b) how many of those people are power roles
c) how many of those power roles are killing roles
d) citizen bonus
e) solo victory bonus
f) survival (this one probably doesnt carry any weight at all but it's a modifier you can use for some teams)

So therein the less people you have on your team, the less power roles and the less killing roles ultimately garners more end of game points as the number of killers directly impacts the difficulty of the game (game length and how much game length you actually have to "play" mafia - end game deception etc etc). That's why solo winning non killing neutrals get slightly more than solo winning killing neutrals but because A) is weighted the highest (1 player on your team) you still end up getting >30 points for that win.

That is my understanding of it anyway. I could be completely wrong as I haven't really seen that code but thats how I'd imagine the best way of a points implementation system is.

edit: For teams that change sizes like the cult you can go multiple ways for point A)
I'd probably go with the algorithm doing a setup check at the beginning and end and awarding the original cult members one set and all converts an end step check or else it's probably abusable. I dont know how it works in the map

Voss
July 10th, 2017, 09:42 PM
leaderboard is mostly implemented. Haven't done the formula for points however. It's 5 points per game, plus an extra 5 for winning it.