chipv wrote:BaldAdonis wrote:Is this right? Why not use the logs in losses to include all opponents?Incandenza wrote:Yeah, but it only takes into account victories....
a) What's the point?
b) It's frigging difficult for Terminator games and I don't have that much time at the moment.
The point is most games end in losses. I see what you mean about terminator games though. I reckon a workaround would go something like this: Say we have a 6 player game. Then at the end, the log will have recorded 5 kills, and given out A, B, C, D and E points. If you won the game, then you recorded at least one kill, so lets say you got E points for it, from player 2. So you've got your ratio against player 2, just by taking E/20 (and times 1000 to make it the readable format you are using). Now if player 2 killed someone (player 3 for D points), then you can combine the two and find your ratio with player 3, by taking E*D/400. If player 2 didn't kill anyone, then you killed more than one person, so we can ignore player 2 and treat it as a 5 player terminator game.
Take some time off from this project if it's getting too big. We're all here to play Risk anyways, some people are just excited to use the full power of past game logs to make JR24 shut up. Or recruit some other people to help add functions. There's a usergroup memberlist.php?mode=group&g=192856 who enjoy all things computer related.