NationStates Jolt Archive


Baseball World Series

Linus and Lucy
23-12-2006, 02:15
The Free Objectivist Republic of Linus and Lucy is hosting the first-ever Baseball World Series. Details are still to be worked out, but nations that are interested in principle in participating are encouraged to notify Linus and Lucy as soon as possible.

OOC:
Here's how I'm planning on having it work: Each nation will have team stats assigned from a computer program I'm writing, and participating nations may role-play their games if they want, though it is not necessary--results will be determined from a scorinator I'll also write, and RPs probably should match at least the end score of the game.

The format depends on how many teams sign up initially; as it grows in popularity, it'll go to a fixed format with qualifying rounds and whatnot.

Anyway, here's how the stats generator and scorinator work. I'm always open to suggestions on how to improve them or the World Series itself.

STATISTICS GENERATION:
1. Generate two uniformly-distributed random numbers on the interval (0, 1].
2. Put the pair of numbers through a Box-Muller Transform to generate a pair of normally-distributed random numbers.
3. Repeat steps 1 and 2 until a total of eight normally distributed numbers (four pairs) are assigned.
4. Scale these numbers so that the mean is equal to the mean of the statistic being calculated for all non-pitching players in Major League Baseball.
5. Assign the statistics to the respective players.
6. Repeat steps one through five for each of the four pitchers.
7. Subtract the nation's income tax rate from 100, and divide the result by 100.
8. Divide the nation's per-capita GDP by 500,000.
9. Add the results from steps 7 and 8. This is the nation's "baseball madness".
10. Divide the base-ten logarithm of the nation's population by 9 and multiply this by the nation's "baseball madness". This is the nation's "talent pool".
11. For each statistic per player, multiply (if higher numbers are good) or divide (if lower numbers are good) that statistic by the nation's talent pool. This will produce the final set of statistics.

GAMEPLAY:
1. Pick a uniformly-distributed random number on the interval [0, 1].
2. If the number is less than or equal to the player's On-Base Percentage, continue to step 3; otherwise, go to step 9.
3. Divide the player's Slugging Average by his On-Base Percentage; this is his average number of bases per times on base.
4. Generate two uniformly-distributed random numbers on the interval (0, 1].
5. Put the pair of numbers through a Box-Muller Transform to generate a pair of normally-distributed random numbers.
6. Pick one of the numbers produced in step 5 and scale that so that the mean of the distribution is equal to the result of step 3.
7. Round the result of step 6 so it is an integer between 1 and 4, inclusive. This is the number of bases the player advances.
8. Advance all other baserunners by the same number of bases, incrementing the team's score if necessary. Then go to step 23.
9. If the number is greater than the player's On-Base Percentage and less than or equal to the sum of the On-Base Percentage and the player's Walk Percentage, go to step 10; otherwise, go to step 11.
10. The player has received a base on balls. Move the player to first base and advance all other baserunners by one base, incrementing the team's score if necessary. Then go to step 23.
11. If the number is greater than the sum of the player's On-Base Percentage and Walk Percentage and less than or equal to the player's Strikeout Percentage, go to step 12; otherwise, go to step 13.
12. The player has struck out. Increment the number of outs by one, ending the half-inning if necessary. Then go to step 23.
13. The player has hit a fly ball, line drive, or ground ball. Pick a fielding position at random.
14. Pick a uniformly-distributed random number on the interval [0, 1].
15. If the number is less than or equal to the chosen fielder's fielding percentage, go to step 16; otherwise, go to step 17.
16. The player is out on a fly ball, line drive, or ground ball catch. Increment the number of outs by one, ending the half-inning if necessary. Then go to step 23.
17. The player has reached a base. Divide the player's Slugging Average by his Batting Average; this is his average number of bases per hit.
18. Generate two uniformly-distributed random numbers on the interval (0, 1].
19. Put the pair of numbers through a Box-Muller Transform to generate a pair of normally-distributed random numbers.
20. Pick one of the numbers produced in step 5 and scale that so that the mean of the distribution is equal to the result of step 17.
21. Round the result of step 20 so it is an integer between 1 and 4, inclusive. This is the number of bases the player advances.
22. Advance all other baserunners by the same number of bases, incrementing the team's score if necessary.
23. Repeat steps 1-22, iterating through the batting order, until the hitting team has received three outs.
24. Switch teams.
25. Repeat steps 1-24 until each team has been up to bat nine times.
26. If one team has more runs than another, that team is the winner. Otherwise, repeat steps 1-24 until one team has more runs than another at the end of one of the extra innings; then that team is the winner.
No Taxes
23-12-2006, 02:27
OOC: Nice work on the program, after glancing at it appears my nation will have lots of "baseball madness".

IC: No Taxes is interested in sending a baseball team to the World Series. It will be the first time ever No Taxes has sent a baseball team to any type of international competition and the search for players has already begun.
Linus and Lucy
23-12-2006, 02:39
OOC: Yeah, I did that on purpose. Baseball is a rather individualistic sport, and since low taxes and higher productivity are a characteristic of individualistic locales, I figured the more individualistic your population tends to be, the better it will be at baseball :D
British Londinium
23-12-2006, 02:50
The Britannic Commonwealth shall start assembling a team forthwith.
Linus and Lucy
23-12-2006, 04:44
bump
Linus and Lucy
23-12-2006, 19:41
bump
East Lithuania
23-12-2006, 20:25
i'm in
Linus and Lucy
23-12-2006, 22:55
bump
Linus and Lucy
24-12-2006, 06:23
bump
Linus and Lucy
25-12-2006, 00:36
bump
Linus and Lucy
25-12-2006, 05:40
bump
Linus and Lucy
25-12-2006, 16:13
bump
Linus and Lucy
26-12-2006, 01:10
bump
Ri-an
26-12-2006, 04:50
The Sacred Empire of Ri-an is intrested in taking part in this "Baseball" you speak of. We assume the species requirement to be human, and have researched and trained a team of our most athletic humans to take part in this, "Baseball." The only parts we do not understand, is the point of the giant foam finger things, and what Hot dogs are made of.

OOC: I don't understand your programing, but if it's just rp'ing the final score, I can dig.
Linus and Lucy
26-12-2006, 07:49
bump
Linus and Lucy
26-12-2006, 16:07
bump
Linus and Lucy
26-12-2006, 21:30
bump
British Londinium
26-12-2006, 21:31
OOC: No offence, Linus and Lucy, but I don't think that there's going to be alot of people interested in this. I'd try putting this thread up in NationStates, not II.
Ri-an
26-12-2006, 21:47
OOC: Yes, try this in Nationstates. It seems to be rather popular for sportsy type RPs.

Just don't forget those of us who already stated our intrest.
Linus and Lucy
26-12-2006, 22:45
OOC: Yeah, that's been mentioned to me a couple of times on IRC since last night. For future incarnations, I'll go ahead and do that, but frankly, since this is the first one it's probably best to start out small anyway.

BTW, BL, can I just assume you agreed to my request to establish formal diplomatic ties with you, and RP as such?
British Londinium
26-12-2006, 22:47
OOC: Yeah, go ahead. If you could build an embassy in my nation, i'd appreciate it.
Linus and Lucy
27-12-2006, 16:35
bump
British Londinium
27-12-2006, 17:08
Bumpage (http://forums.jolt.co.uk/showthread.php?t=512382).
Linus and Lucy
27-12-2006, 22:24
bump
Linus and Lucy
28-12-2006, 03:43
bump
Linus and Lucy
28-12-2006, 15:59
bump
Linus and Lucy
28-12-2006, 21:20
bump
Linus and Lucy
29-12-2006, 03:51
bump
Quakmybush
29-12-2006, 05:41
Quakmybush will send a team
Linus and Lucy
29-12-2006, 16:31
bump
Linus and Lucy
29-12-2006, 21:59
OOC: Registrations will close at midnight CST (GMT - 6) January 1, 2007 or whenever we reach eight participants, whichever comes first.
Linus and Lucy
30-12-2006, 03:21
bump
Linus and Lucy
30-12-2006, 09:29
bump
Linus and Lucy
30-12-2006, 17:35
bump
Linus and Lucy
30-12-2006, 22:44
bump
Linus and Lucy
31-12-2006, 04:36
bump
Linus and Lucy
31-12-2006, 17:20
A seventh player has signed up via telegram--only one more spot open!
Linus and Lucy
31-12-2006, 22:00
bump
Ri-an
31-12-2006, 22:11
OOC:Linus, if you don't have a team and there is one more spot open, why don't you send in a team to fill up that last spot?
Linus and Lucy
01-01-2007, 19:41
I did, right at the start--I just didn't post it here because, well, there's no need to.

My nation's team is one of those seven :D
TheBlackLotusSociety
01-01-2007, 19:57
The wise and venerable Emperor Magesha, sends a team of his best athletes to play Baseball.
Linus and Lucy
01-01-2007, 20:10
Registration has already been closed for the inaugural Baseball World Series; however, you are more than welcome to register for the next edition, which will begin upon the completion of the current tournament.