Page 4 of 9 |
|
Posted: Sat, 13th Dec 2014 08:17 Post subject: Re: Free American Xmas Giveaway 2014 [Updated: 12/12/14] |
|
 |
[edit]
...not sure why my OP was quoted here

Last edited by SpykeZ on Sat, 13th Dec 2014 08:18; edited 2 times in total
|
|
Back to top |
|
 |
|
Posted: Sat, 13th Dec 2014 08:17 Post subject: |
|
 |
|
|
Back to top |
|
 |
|
Posted: Sat, 13th Dec 2014 09:22 Post subject: |
|
 |
|
|
Back to top |
|
 |
Fa4Ta4L
Posts: 394
Location: Netherlands
|
|
Back to top |
|
 |
barash
Posts: 832
Location: Norway
|
|
Back to top |
|
 |
ClaudeFTW
Posts: 5074
Location: Bucharest, Romania
|
Posted: Sat, 13th Dec 2014 11:55 Post subject: |
|
 |
My favorite game would be Wolfenstein: The New Order
In any case, happy holidays everyone!
R7 2700x @4GHz / MSI B450 Tomahawk / beQuiet! Dark Rock 4 / 32GB @3000 MHz / MSI RTX 2060 Gaming Z / Samsung 850 EVO 250GB / Western Digital 1TB / Fractal Design Meshify C Dark / SuperFlower Leadex Gold 650W / DELL whatever 27 inch IPS
I usually stream stuff: http://www.twitch.tv/claudeftw
|
|
Back to top |
|
 |
|
Posted: Sat, 13th Dec 2014 12:01 Post subject: |
|
 |
Indiana Jones and the Fate of Atlantis
first pc game I played and reminds me of good times with good friends
|
|
Back to top |
|
 |
chiv
Posts: 27530
Location: Behind You...
|
Posted: Sat, 13th Dec 2014 12:27 Post subject: |
|
 |
i will offer one dead island epidemic to the prize pool.
no wait fuck that you're not getting my tradeable dead island gift, that shits going to take off in value some day so i'll hold on to that, but i've got a mad riders key i can kick into the prize pool.

Last edited by chiv on Sat, 13th Dec 2014 13:03; edited 1 time in total
|
|
Back to top |
|
 |
|
Posted: Sat, 13th Dec 2014 12:45 Post subject: |
|
 |
SpykeZ wrote: | Vulgarr wrote: | SpykeZ wrote: | Ya no kidding, I'm still trying to come up with an idea on how to give away all these fucking games.
The best I've come up so far is make a sep thread for each game in the sharing corner and let people who want the game enter a drawing for it, they can enter as many games as they want but they'll only win one, any others will be re-drawn.
Downside? THATS A LOT OF FUCKING THREADS
I'm open to suggestions at this point. I was also thinking of just drawing random names from this thread for the games |
Sounds like a lot of work. Perhaps draw names and just go down the list letting people choose in order. It is late but think I have a couple to contribute tomorrow as well. Awesome giveaway! |
If I go down list letting people choose then "the best games" will get chosen first leaving the less wanted ones for those choosing last. It's not THAT much work and Pumpy is fully capable of doing it, he's the one that offered.
Also as I stated, I'm extending the deadline to next week some time. | OK, development is done. I came up with a nice algorithm so that this competition is as fair as possible.
I will create a thread with all the available games and you can then post which games you want. For each game a randomizer will select one winner out of all the people that want this particular game.
But beware. The more games you want, the lower chances are that you will win any of them
If you want details about the algorithm:
Spoiler: |
Example:
Ixigia enters 4 games. His global chance (gc) is 0.73 (1*0.9*0.9*0.9)
Leo enters 3 games. His gc is 0.81 (1*0.9*0.9)
I entered all 5 games. My gc is at only 0.66 (1*0.9*0.9*0.9*0.9)
SpykeZ entered only 2 games. His gc is 0.9 (1*0.9)
Sabin entered 4 games just like ixi and has a gc of 0.73
Game: The Walking Dead Season 2
Contestors: ixigia, leo, pumpaction, spykez
Chances: 0.73<1.54<2.2<3.1
(^^ Chances: ixi's gc is .73, leos is .81, so ixi will win if the pulled number is between 0 and .73 and leo will win if the pulled number is between .73 and 1.54 (.73+.81) and so on.)
Pulled number: 1.515526295960957
Winner: LEO with a chance of 26.17%
(Leo won, even though his chances were a bit smaller than SpykeZ')
-----
Game: Crusader Kings II + DLC
Contestors: sabin, leo, pumpaction
Chances: 0.73<1.54<2.2
Pulled number: 0.020782751556434814
Winner: SABIN with a chance of 33.21%
(This time Leo lost, even though he had the greatest chances)
-----
Game: Ace of Spades
Contestors: ixigia, sabin
Chances: 0.73<1.46
Pulled number: 0.4630871486693599
Winner: IXIGIA with a chance of 50%
(Both entered 4 games, their chances were 50/50)
-----
Game: Saints Row IV: Century Edition
Contestors: pumpaction, spykez
Chances: 0.66<1.56
Pulled number: 0.8388793014799799
Winner: SPYKEZ with a chance of 57.84%
(Spykez wins clearly, as I entered every game and he had much higher chances to win this one)
-----
Game: Revenge of the Titans
Contestors: leo, sabin, ixigia, pumpaction
Chances: 0.81<1.54<2.27<2.92
Pulled number: 0.04176595187680257
Winner: LEO with a chance of 27.7%
(Out of all of us Leo had the highest chance to win, because he entered less games than the rest and he did)
-----
Game: Garry's Mod
Contestors: sabin, ixigia, pumpaction
Chances: 0.73<1.46<2.11
Pulled number: 0.033696457486511594
Winner: SABIN with a chance of 34.48%
(This time Sabin won, I clearly had no chance)
If one enters all 68 games, his gc is <0.1%
Repeating this script gave me good results and the 10% penalty per game entered, seems reasonable enough to prevent spammers from winning everything and doesn't hinder your chance just because you entered 5 games TOO much. If you think that 10% is too harsh, we can also try with a bit lower number...
|
And the code behind the algorithm (beware, it's quite shitty as this is my second spreedsheet script
Spoiler: |
Code: |
function getWinner() {
Logger.clear();
var sheet = SpreadsheetApp.getActiveSheet();
var range = sheet.getDataRange();
var values = range.getValues();
var contenderMap = {};
// Get all contenders and calculate how many games they enter and their global chance
for (var i = 1; i < values.length; i++) {
var contendersTrimmed = values[i][3].trim();
if (contendersTrimmed != ''){
var contenders = contendersTrimmed.split(",");
contenders.forEach(function(contender){
var contenderTrimmed = contender.trim().toLowerCase();
if (contenderTrimmed != ''){
if (contenderMap[contenderTrimmed] == undefined)
contenderMap[contenderTrimmed] = {count:1, winchance:1};
else {
contenderMap[contenderTrimmed].count++;
contenderMap[contenderTrimmed].winchance*=.9;
}
}
});
}
}
// for each game calculate the total chance (sum of the gc of each contender for this game)
for (var i = 1; i < values.length; i++) {
var contendersTrimmed = values[i][3].trim();
var totalChance = 0;
var possibleWinners = {};
if (contendersTrimmed != ''){
var contenders = contendersTrimmed.split(",");
contenders.forEach(function(contender){
var contenderTrimmed = contender.trim().toLowerCase();
if (contenderTrimmed != ''){
totalChance += contenderMap[contenderTrimmed].winchance;
possibleWinners[contenderTrimmed] = totalChance;
}
});
Logger.log("Game: " + values[i][0]);
Logger.log("Contestors: " + Object.keys(possibleWinners).join(", "));
var chances = "";
for (var possibleWinner in possibleWinners) {
chances += Math.round(possibleWinners[possibleWinner]*100)/100+"<";
}
chances = chances.substring(0,chances.length-1);
Logger.log("Chances: " + chances);
// pull a number which is 0<=x<totalChance
var winnerNumber = Math.random() * totalChance;
var winner = "";
var lastWinner = 0;
for (var possibleWinner in possibleWinners) {
if ((winnerNumber<possibleWinners[possibleWinner]) && (winnerNumber>lastWinner)){
lastWinner = possibleWinners[possibleWinner];
winner = possibleWinner;
}
};
//calculate the chance this player had to win this game against the other contenders
var luckperc = Math.round((contenderMap[winner].winchance/totalChance)*10000)/100;
Logger.log("Pulled number: " + winnerNumber);
winner = winner.toUpperCase() + " with a chance of " + luckperc +"%";
Logger.log("Winner: " + winner);
Logger.log("-----");
values[i][2] = winner;
}
}
//update spreadsheet
range.setValues(values);
//log who entered how many games and what their gc was
for (var key in contenderMap) {
Logger.log(key + ": " + contenderMap[key].count + ": " + Math.round(contenderMap[key].winchance*100)/100);
}
};
|
|
@SpykeZ: Do you have a google account? If so, just send me your mail addy and I will give you access to this google spreadsheet. The skript is fully working 
=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Last edited by PumpAction on Sat, 13th Dec 2014 12:56; edited 2 times in total
|
|
Back to top |
|
 |
|
|
Back to top |
|
 |
|
Posted: Sat, 13th Dec 2014 12:58 Post subject: |
|
 |
Made this an announcement (for the duration of the competition)
|
|
Back to top |
|
 |
|
Posted: Sat, 13th Dec 2014 13:05 Post subject: |
|
 |
I know you said one post only, but seriously... this is some outstanding generosity by people. This thread is awesome! Merry Christmas everyone \o/
|
|
Back to top |
|
 |
|
Posted: Sat, 13th Dec 2014 13:14 Post subject: |
|
 |
|
|
Back to top |
|
 |
couleur
[Moderator] Janitor
Posts: 14085
|
|
Back to top |
|
 |
|
|
Back to top |
|
 |
|
Posted: Sat, 13th Dec 2014 13:49 Post subject: |
|
 |
Accept the game I sent in to your mail already you slow nub SpykeZ 
|
|
Back to top |
|
 |
MannyK
Posts: 1405
Location: Brazil
|
Posted: Sat, 13th Dec 2014 13:51 Post subject: |
|
 |
I have a humble key for red alert 3 uprising, gonna donate
well, nevermind
the game already is on the list
|
|
Back to top |
|
 |
Nezul
Posts: 76
Location: Sweden
|
Posted: Sat, 13th Dec 2014 14:05 Post subject: |
|
 |
|
|
Back to top |
|
 |
|
Posted: Sat, 13th Dec 2014 14:24 Post subject: |
|
 |
|
|
Back to top |
|
 |
Surray
Posts: 5409
Location: Europe
|
|
Back to top |
|
 |
Neon
VIP Member
Posts: 18881
Location: Poland
|
|
Back to top |
|
 |
|
|
Back to top |
|
 |
|
Posted: Sat, 13th Dec 2014 16:36 Post subject: |
|
 |
@SpykeZ
Sent 2 games to your gmail from OP, cba to add on Steam. You can redeem them as a gift from email links.
|
|
Back to top |
|
 |
|
|
Back to top |
|
 |
|
Posted: Sat, 13th Dec 2014 17:13 Post subject: |
|
 |
|
|
Back to top |
|
 |
|
|
Back to top |
|
 |
|
Posted: Sat, 13th Dec 2014 17:31 Post subject: |
|
 |
Holy fucking shit lmao. Woke up and got a lot of work ahead of me on updating.
If you're sending money please include your name. I don't know who 3/4 of you are without your hump name.
|
|
Back to top |
|
 |
|
Posted: Sat, 13th Dec 2014 17:45 Post subject: |
|
 |
OK!! Updated what I could. I'm still missing a couple names from the humporz who donated money and I'm not putting your real name down for security reasons.
Cash pool is getting huge O_O 4 prize spots open.
At this point I don't care if you all start a discussion in here lol. It's already going to be a nightmare managing all these games and extra copies and is it in my library or is it in my PM box
|
|
Back to top |
|
 |
|
Posted: Sat, 13th Dec 2014 18:06 Post subject: |
|
 |
Favourite game would have to be Sonic 3+Knuckles, absolutely love it.
|
|
Back to top |
|
 |
|
Posted: Sat, 13th Dec 2014 18:14 Post subject: |
|
 |
SpykeZ, I updated the games list in the spreadsheet, you can enter the keys/links there.
|
|
Back to top |
|
 |
Page 4 of 9 |
All times are GMT + 1 Hour |