MCPcopy Create free account
hub / github.com/PacktPublishing/Artificial-Intelligence-with-Python / DUAL

Class DUAL

Chapter 09/code/easyAI/AI/DUAL.py:5–73  ·  view source on GitHub ↗

This implements DUAL algorithm. The following example shows how to setup the AI and play a Connect Four game: >>> from easyAI import Human_Player, AI_Player, DUAL >>> AI = DUAL(7) >>> game = ConnectFour([AI_Player(AI),Human_Player()]) >>> game.play()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected