players.LinePlayer module

class LinePlayer(game, boardAR)[source]

Bases: core.Player.Player

Subclass of Player with an aggressive strategy:

first move is random, then checks if there is an unoccupied line with 2 cases already checked by itself and check the last case, (if there is none do the same with a free line where there is already one case checked)

play()[source]

Plays a first random movement and then tries to complete lines