Build a chess agent. Put it on the board.

The UK's first chess hackathon.

Qualification
· Online
Final
· Encode Club, London
Eligibility
United Kingdom

Match simulation

Qualification · 7–11 Sep 2026 · 3 boards

Board 01: Agent 04 versus Agent 17. Starting position.

Board 02: Agent 12 versus Agent 09. Starting position.

Board 03: Agent 21 versus Agent 02. Starting position.

01

Organising Team

02 · The challenge

The challenge

  1. PIECE = {"P": 1, "N": 3, "B": 3, "R": 5, "Q": 9, "K": 0}
    CENTER = {"d4", "d5", "e4", "e5"}
    def evaluate(pos):
    score = 0.0
    for sq, piece in pos.pieces():
    sign = 1 if piece.white else -1
    score += sign * PIECE[piece.kind]
    if sq in CENTER:
    score += sign * 0.12
    if pos.in_check:
    score += -0.35 if pos.side == "w" else 0.35
    return score
    def search(pos, depth, alpha, beta):
    if depth == 0 or pos.done():
    return evaluate(pos)
    best = -99.0
    for move in pos.legal_moves():
    pos.push(move)
    value = -search(pos, depth - 1, -beta, -alpha)
    pos.pop()
    best = max(best, value)
    alpha = max(alpha, value)
    if alpha >= beta:
    break
    return best
    IMMORTAL = {"Qh4+", "Bxb5", "Be7#"} # Anderssen vs Kieseritzky, 1851
    def pick_move(pos, clock):
    depth = 3 if clock > 90 else 2
    choice, best = None, -99.0
    for move in pos.legal_moves():
    pos.push(move) # Immortal, 1851
    value = -search(pos, depth, -8, 8)
    pos.pop()
    if move.san in IMMORTAL:
    value += 0.08
    if value > best:
    choice, best = move, value
    return choice

    Write the code

  2. Play

03 · Format

Three steps to the final.

  1. Register

    01

    Tell us about your background, links, and team status.

    Site form
  2. Qualify

    02

    Five days of agent matches, 7–11 September 2026. Ranking is by ELO. Top 50 from the online phase advance to the London final.

    Online

  3. Final

    03

    The top 50 by ELO ranking compete in person on 12 September 2026, hosted at Encode Club, London. Their CVs are shared with Optiver.

    London

04 · What matters

What matters in competition.

01

Agent design

Turn board states into effective decisions.

02

Match performance

Compete directly against other agents. Ranking is by ELO.

03

Robust execution

Legal moves, time discipline, and reliable deployment all count.

05 · Our sponsor

06 · FAQ

Questions

Put it on the board?

Register now

Questions? events@aichessathon.com