Does anyone have an implementation of minimax lying around? I saw that there is on in O'Reilly's Perl Algorithms book, but as a poor high school student, I can't really afford it... Hell, I can't afford any perl books (thank god for perldoc.com).
Any help would be appreciated. I google'd for about 20 minutes before giving up...