Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Wednesday January 07, 2004
11:41 AM

Fantasy Congress

[ #16696 ]

inkdroid got me to thinking about what else I could do with Perl and the US Congress.

What if, like Fantasy Football and Baseball, there was a Fantasy Congress, or maybe even SimCongress. Perhaps it could be like a role playing game (RPG) where you roll dice to create your senators and representatives. Then, someone, bills get injected into the game and you either have to get them passed or beat them down. You win when your state gets an aircraft carrier contract and 10,000 miles of new highway. (What would Illinois do with an aircraft carrier? There is the Great Lakes Naval Training Center (or, as the sailors say, Great Mistakes)).

Of course, the back end would have to be in Perl so objects could screw up other objects (core wars, anyone?) and steal secrets from other classes. Objects could even mess with inheritance trees to steal votes, turning Republicans into independents. Forget about trying to do that in Java or C++. To model Congress, you need a language that understands politics.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • How about if by winning you just recapture the 9th and 10th amendments?

    Of course, the back end would have to be in Perl so objects could screw up other objects (core wars, anyone?) and steal secrets from other classes.

    No way! I'd make everything a lexical variable inside an anonymous block, so you couldn't get to it. You'd have to go into C to do that. (I wonder what protection there could be against Inline::* ...)

    --
    J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
  • Not exactly, but similar. You start with a set of rules (constitution, as it were) which allow for the modification of same and then go from there.

    DMoz Nomic topic [dmoz.org].