Race for the Galaxy AI

This is a project to create artificial intelligence opponent(s) for the card game Race for the Galaxy. Currently, the base game and all three expansions are supported.

With the release of version 0.7.0, online multiplayer is supported. You can see the results of completed games.



Source code

The following package contains the source code, card images, and neural networks. It should compile fairly easily on any Linux or other Unix-like system. You will need the GTK libraries and headers, etc, to compile it.


The following is a Windows self-extractor that contains everything needed to play.

Mac OS X

The following is a pre-compiled binary for Mac machines running OS X. It should have all the necessary libraries and no longer uses the old GTK Framework.


See the FAQ for some common gameplay questions and answers.

See also


Some people have asked about donations. I am very grateful for the support! If you have a PayPal account and would like to help support, you can send funds to my account at "keldon@keldon.net". Thanks a lot!


Feel free to contact me at keldon@keldon.net with questions, suggestions, or other comments.