Table of Contents

Namespace WeiqiSharp.Core.Agents

Classes

AgentExtensions

A variety of extension functions which provide utility for crafting IAgent implementations.

Group

Represents a group of stones on the board, and tracks their liberties.

GroupExpander

This agent attempts to expand its groups most of the time. It figures out which move it can take that will provide it with the most new liberties.

Each move, however, it has the chance to randomly make a move that does not expand its liberties.

RandomMoveAgent

This agent will make a random legal Move if there are any on the board to make, or pass otherwise.