Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How to resolve Index Error in my code?
Post: RE: How to resolve Index Error in my code?

Apologies! Let me put the details Depth 3 is considered as the terminating condition because the tree on which we are implementing this algorithm has a depth of 3. NodeIndex * 2 + i will always be in ...
codify110 General Coding Help 6 3,051 May-22-2021, 10:34 AM
    Thread: How to resolve Index Error in my code?
Post: RE: How to resolve Index Error in my code?

I am implementing alpha-beta pruning which is an optimization of the min-max algorithm used in game theory. Alpha-beta pruning helps to reduce computation time. The code is available here: https://w...
codify110 General Coding Help 6 3,051 May-22-2021, 10:18 AM
    Thread: How to resolve Index Error in my code?
Post: How to resolve Index Error in my code?

This is the code MAX, MIN = 1000, -1000 # Returns optimal value for current player # (Initially called for root and maximizer) def minimax(depth, nodeIndex, maximizingPlayer, values, al...
codify110 General Coding Help 6 3,051 May-21-2021, 11:02 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020