Skip to content

Game AIs

Get rekt by AI. A WASM game engine behind each opponent.

source code ↗
  1. 01

    Tic-tac-toe

    At its strongest setting, the engine has solved every reachable position, so it cannot lose.

    play →
  2. 02

    Connect Four

    The engine looks several turns ahead and skips branches that cannot improve its choice.

    play →
  3. 03

    Othello

    It values mobility, corners, and avoiding exposed discs early. As the board fills, disc count matters more.

    play →
  4. 04

    Chess

    The engine searches one turn deeper at a time. A small neural network scores the positions at the edge of its search.

    play →