Appendix B — Example Minimax Pseudocode function minimax(state): if isTerminal(state): return utility(state) if player == MAX: return max(minimax(applyMove(state,m)) for m in legalMoves) else: return min(...)
(End of paper)
Appendix B — Example Minimax Pseudocode function minimax(state): if isTerminal(state): return utility(state) if player == MAX: return max(minimax(applyMove(state,m)) for m in legalMoves) else: return min(...)
(End of paper)
To get our daily spiritual messages, download App from Google Play Store or the App Store.