Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: MiniMax

by atcroft (Abbot)
on May 18, 2002 at 16:13 UTC ( [id://167518]=note: print w/replies, xml ) Need Help??


in reply to Want MiniMax() code from Mastering Algorithms with Perl

Perhaps I'm a little jaded, having encountered homework questions before (and my appologies if I appear thus), but this sniffs suspiciously like homework to me, especially after your response about trying to write a tic-tac-toe program (a common assignment in computer science classes), and at a time generally near the end of semesters.

Had you tried to code from the algorithm? If the code didn't work, post and someone might could point out where it could have been improved or where you went astray.

"Google'd for 20 minutes before giving up"? Surprisingly, I found a description of entitled "How min-max works" and a description of "Minimax Trees" on the first pages of searches for "min-max tree algorithm" and "minimax tree algorithm" respectively.

Try the Super Search here? A search there for "minimax" returned two postings containing that phrase, one being a rather long thread regarding the implementation of a tic-tac-toe game and the idea of using the minimax algorithm as part of the intelligence of the game (the other was one of the responses). Look at any of the resources in the Outside Links section?

I understand being a poor student (it was not that long ago), but you have more resources available than you seemed to have tried to exhaust. Beyond even these, there are numerous websites relating to programmers, developers, and so forth (although in my opinion this one truly rocks), plus your local library (libraries, assuming a local public library as well as the school library, plus possibly local college or university libraries), inter-library loan programs (ask your local librarian), and looking through books and magazines available at your local bookstore.

I expect to get quite a negative reaction for this posting, but a storehouse of information is only useful when one can find their particular needle in the haystack effectively. I hope perhaps some of the information in this posting may be of help to someone else in trying to find their own needles. It is also my hope that others will pitch in comments that will be helpful, and possibly illuminative in searching for such as this effectively. I know there are other postings on how to find things (such as Masem's most excellent How to RTFM posting, among others).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://167518]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-23 14:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found