Created
November 23, 2020 03:11
-
-
Save mattmazzola/d034d4e69e6f6bf97dbfb83541d5b3cf to your computer and use it in GitHub Desktop.
Execute Games
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Execute simulation | |
const numQuestionsPerPlayer = 100 | |
// The maximum difference that a question's rating will be from the player's rating | |
// Simulates a queuing system the pairs likely candidates | |
const ratingRange = 250 | |
const symmetricResults = simulateGames(symmetricRatingSystem, players, questions, numQuestionsPerPlayer, ratingRange) | |
const asymmetricResults = simulateGames(asymmetricRatingSystem, players2, questions2, numQuestionsPerPlayer, ratingRange) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment