i am new to minimax algorithm. while searching in google i could roughly understand the basics of minimax. i do have a doubt in using it for tic tac toe. at each stage max will choose the node with maximum value in its child. but how do we evaluate the leaf nodes? i cant guess any function for that.
shiv0013
0
Light Poster
Recommended Answers
Jump to PostIs the leaf node a final state? If so, then it has +verymuch if a win, -verymuch if a loss and (whatever you deem appropriate) if it a draw.
Look in the right column of this page, near the top. See all the related DaniWeb posts? Some of them …
All 2 Replies
Reply to this topic
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.