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

Class SSS

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

This implements SSS* algorithm. The following example shows how to setup the AI and play a Connect Four game: >>> from easyAI import Human_Player, AI_Player, SSS >>> AI = SSS(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 1

connect_four.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected