Hello guys, I need a concise explanation of the minimax algorithm... I understand it perfectly when explained with trees but the confusion comes in the code implementation...
How do I get to implement depth search using code? I understand that calling minimax follows a recursive pattern but getting the AI to search for possible moves has got me stuck... I read PDF files and watch tutorials but I only understand the aspect of search trees. The pseudocode aspect has got me befuddled.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.