Web Analytics Made Easy -
StatCounter Minimax Algorithm and JavaScript - CodingForum

Announcement

Collapse
No announcement yet.

Minimax Algorithm and JavaScript

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Minimax Algorithm and JavaScript

    I was wondering if anyone knew of a good resource online about how to utilize the minimax algorithm with JavaScript? Any help is greatly appreciated.

    Happy coding!

  • #2
    what is the minimax algorithm?
    photoshop too expensive? use the GIMP! www.gimp.org

    Comment


    • #3
      The minimax algorithm is an algorithm that you can use for AI. The name stems from the idea that the computer tries to maximize its chances of winning while minimizing the chances of the user of winning.

      Happy coding!

      Comment


      • #4
        Well, assuming that you already know the minimax algorithm and you have a fairly good understanding of JavaScript (which I don't, btw, so I don't pay too much attention to me ), you should be able to make the AI easily. I know that the basic ideas of an algorithm remain the same from language to language. An AI I designed in VB had the same algorithm as the one I designed in VC++. From what I know of JavaScript, you merely have to use more JS than HTML to make dynamic output for your AI.

        Correct anything that I've said that is incredibly stupid, please.
        -Obiwan Jabroni
        May the Schwartz be With You

        Comment


        • #5
          Correct anything that I've said that is incredibly stupid, please.
          Sure thing, oh Jedi padawan . I don't how to use the minimax algorithm, I just know what it does.

          Comment


          • #6
            Hi,

            you can check out a fine tutorial for minimax with alpha-beta pruning although written in Objective C but it might give you a hint about how to use it and implement it (pay more attention to the text rather than the code if you don't understand Objective C )

            Cheers

            Comment

            Working...
            X