Ai Ai Home Page

Ai Ai Download Page

AiAi is a Java-based general game playing engine based on Mogal (a GGP designed and developed by Stephen Tavener and Cameron Browne).   Games can be hand-coded in Java (for efficiency), or assembled from blocks using a scripting language based on JSON.  You’ll find a little more on the topic here:

How Ai Ai Got its Name
Adding games to Ai Ai in Java (and compatible languages)
Ai Ai Developer’s Guide #1: MGL


AiAi allows you to play games against a variety of AIs, mostly variations of MCTS (Monte Carlo tree search).  It also contains analysis tools for game authoring; though these are more for my benefit than anyone else’s at present.

AiAi is still very much in a state of flux, and rather lacking in documentation at present but I will link documentation here as I write it.  Questions and comments welcome, and may well encourage me to write more!

I have added some threads to BGG for announcements, suggestions, and bug reports:

Announcements – subscribe to this thread to be notified when I update Ai Ai
Suggestions – any suggestions for improvements/new features should go here
Bug Reports – find a bug? Report it here. I will probably ask you for a save game file if it is a problem with a specific game.
FAQ – living FAQ; I will update the top post with questions and answers.

The latest version of AiAi will always be available here:

Ai Ai Download Page

(Last update: 21st December 2018)

A partial list of games available in AiAi is as follows (most recent first):

Jotunheim by Michael Van Biesbrouck
Low vs High by Stephen Tavener
Ayu by Luis Bolaños Mures
Blue Nile by Dan Troyka
NEC/NON by Richard Moxham
Breakthrough by Dan Troyka
Gyges by Claude Leroy
Kang by Claude Leroy
Tortuga by Vincent Everaert
Exxit by Vincent Everaert
Not Even Close by Richard Moxham
Slither by Corey Clark
Emergo by Christian Freeling
Tafl games Alea Evangelii, Tablut, Hneftafl (traditional)
Frozen Forest by Néstor Romeral Andrés
Storisende by Christian Freeling
SyGo by Christian Freeling
Manalath by Dieter Stein and Néstor Romeral Andrés
Eigenstate by Martin Grider
Chase by Tom Kruszewski
Symple by Christian Freeling
Havannah by Christian Freeling
Counterplays by Néstor Romeral Andrés
SEVEN by Néstor Romeral Andrés
Pent-Up by Néstor Romeral Andrés
Stack-22 by Néstor Romeral Andrés
Bug by Nick Bentley
Odd by Nick Bentley
Cairo Corridor by Markus Hagenauer
Trig by Richard Moxham
Yavalax by Ken Shoda
DuploLine by José Manuel Astilleros García-Monge
Blooms by Nick Bentley
27 by Laurent Escoffier
Mycelium by Rey Alicea
Themiscrya by Rey Alicea
Escabel by Luis Bolaños Mures
Yugo by Luis Bolaños Mures
Fugo by Luis Bolaños Mures
ACNOS by Alek Erickson
SHRINE by Alek Erickson
Starweb by Christian Freeling
Side Stitch by Craig Duncan
Adaptoid by Néstor Romeral Andrés
Entrapment by Rich Gowell
Skjuub by Martijn Althuizen
Cornerbase by Ignazio Panades
Xmas Lights by Stephen Tavener
Navis Dratp (unofficial) by Koichi Yamazaki
Nine Men’s Morris (and related games) Traditional
Xoliba by Ari Saastamoinen
Greenest by Néstor Romeral Andrés
Greener by Néstor Romeral Andrés
Green by Néstor Romeral Andrés
Big*Bang by Miguel Marqués
Tak by James Ernest and Patrick Rothfuss
Fano330-R-Morris by Masahiro Nakajima
GoRoGo by Mitsuo Yamamoto
Tintas by Dieter Stein
Linage by Luis Bolaños Mures
Carteso by Luis Bolaños Mures, Corey Clark
Consta by Matteo Perlini
Stop-Gate (aka Crosscram, Domineering) by John Conway?
Arrows & Arrows2 by Stephen Tavener (Work in progress)
Aboyne by Paul Sijben
Cation + Rhode + Squer (all by Luis Mures)
Chain Lightning by Andrew Juell
Cheaoss by Stephen Tavener
Hong by Néstor Romeral Andrés
Santorini by Gord!
Distrify by David Stoner
Glaisher by Ken Shoda
Majorities by Bill Taylor
DuploHex by José Manuel Astilleros García-Monge
Snowpaque by Stephen Tavener – Merry Christmas!
Dots and Boxes by François Edouard Anatole Lucas
Susan by Stephen Linhart
Ecalper by Matteo Perlini
Carnivore by Nick Bentley
Catchup/Ketchup by Nick Bentley
Shibumi games Splice, Spline, Spline+ by Néstor Romeral Andrés
Yavalanchor by Néstor Romeral Andrés
Vault by Néstor Romeral Andrés
Leapfrog (traditional)
Merx by Stephen Tavener – work in progress, feedback appreciated!
Veletas by Luis Bolaños Mures
Regatta by Martijn Althuizen
Yonmoque by Mitsuo Yamamoto
Tixel by Martijn Althuizen
Tix by Martijn Althuizen
Gonnect by João Neto
Go (several variants)
Gess by Archimedeans Mathematics Society
Crosshairs by Stephen Tavener
Squava by Néstor Romeral Andrés
Rapid Cooling/Accretion family – six games by Stephen Tavener I haven’t decided if any of them is very good yet. Feedback very much appreciated!
Robots by Ken Arnold – this is a puzzle (1p) game
Close Doesn’t Count by Andrew Juell
Murus Gallicus by Phil Leduc
MultiShot by Rey Alicea
Stac by Daniel Isom
SUM ON by Markus Hagenauer
SNORT by Simon Norton (rediscovered and improved as Cats ‘N Dogs by Chris Huntoon)
Clobber by Michael H. Albert, J.P. Grossman and Richard Nowakowski
Connect 4 by Howard Wexler and Ned Strongin
Connect 6 by Professor I-Chen Wu
Cross by Cameron Browne
Delta by Erich Brunner
DHex by Néstor Romeral Andrés
Four by Stephen Tavener
Genius Loci by Stephen Tavener
Hex by Piet Hein and possibly John Nash
inpHeXion by Masahiro Nakajima
Intercardinal series by Stephen Tavener
KnightLine by Stephen Tavener
Line Or Colour by Néstor Romeral Andrés
Lines of Action by Claude Soucie
LOT by Néstor Romeral Andrés
Martian Tic Tac Toe by Chris Goodwin
Morelli by Richard Moxham
Quantum Leap by Néstor Romeral Andrés
Reversi (authorship disputed, probably by Lewis Waterman or John W. Mollett)
Unfair by Stephen Tavener
Web of Flies by Stephen Tavener
Yavalath by Cameron Browne
Y by Ea Ea and Charles Titus

Development Guides

The first development guide (describing the MGL file format) is available here – very much a work in progress:

MGL Development Guide 0.1

6 thoughts on “Ai Ai Home Page”

  1. Hi Stephen,
    I wish I could wait to try out AiAi before commenting, but going by the screenshot of NestorGames, this may be what I have been looking for (Java-based platform) to use as my development platform for an edge-matching puzzle whose pieces are dynamically created from a mathematical set of, well, anything.
    Will let you know if it helps and if it doesn’t why not.
    PS I found you on the Game Puzzle & Design website via my association with Kate Jones of Kadon Enterprises.

  2. Thanks very much! But John Conway did not invent Hex. You might have meant to say John Nash, but it is not clear that he discovered it independently from Piet Hein after all.

  3. Hi

    This is great and I just downloaded but I have a quick question.

    When I go to “Choose game” in the software the list of games does not include everything in the list above – am I missing something?


    1. Andrew, as the number of games increases, it gets harder to organise them! From “Choose game”, have a look in the subfolders; you can also find games through the Categories menu.

  4. Fantastic, thank you 🙂

    Out of curiosity (no problem either way) when placing a stone in take do you always need to select the type from the drop down? Just checking in case I’m missing anything! 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.