house :: anarchist.py

This bot has played 2557 games (268 wins / 3 draws / 2286 losses).

Play against this bot as X or as O.

These bots have done best aganist anarchist.py...

Bot P W D L Points Size From beginner One hit wonder Goldfish
house : : antagonist.py 10 10 0 0 10 None None None None
Jon Bannister : : anybot_r282.py (v5) 10 10 0 0 10 974 False False True
Dan Miller : : board_bot.py 10 10 0 0 10 596 False False False
Dilwoar Hussain : : dee-bot.py (v12) 10 10 0 0 10 306 False False False
Daniel Patrick : : error_unable_to_connect4.py (v2) 10 10 0 0 10 757 False False True

...and these bots have done worst

Bot P W D L Points Size From beginner One hit wonder Goldfish
Luke Spademan : : lossingbot.py (v3) 10 7 0 3 4 129 False False True
Stefano Chiodino : : bot.py (v2) 10 6 0 4 2 183 False False True
Peter Inglesby : : random.py 10 6 0 4 2 26 False True True
James Campbell : : horrible.py (v4) 10 0 0 10 -10 246 False False True
Ronan Murphy : : loser.py 10 0 0 10 -10 105 False False True

All standings against anarchist.py

The code

      
# This bot picks a move totally at random.

import random

from botany_connectfour import game


def get_next_move(board):
    available_moves = game.available_moves(board)
    return random.choice(available_moves)