Languages

This page provides information about all the coding languages we support for creating bots. These are available for all competitions. If your favorite coding language isn't supported yet, send an email to developers@theaigames.com with a request and provide a basic bot that we can use to test with.

To help you get started with coding a bot, we provide several starterbots that can be downloaded from the "Getting Started" page of each competition. These are either provided by the developers of TheAIGames.com, or by the active community. If you want to eternalize your name on our website by providing a starterbot, we are more to happy to review it and make it available to everybody!

When uploading a bot you must put all the source files of the language directly in a compressed folder (.zip, .rar, .tar.gz). Also, do not use a buffered output stream when writing responses to the stdout, the game engines won't be able to read that. The game servers currently run on Ubuntu 14.04.

  • Description: Prolog is a general purpose logic programming language associated with artificial intelligence and computational linguistics. Prolog has its roots in first-order logic, a formal logic, and unlike many other programming languages, Prolog is declarative: the program logic is expressed in terms of relations, represented as facts and rules. A computation is initiated by running a query over these relations. The language was first conceived by a group around Alain Colmerauer in Marseille, France, in the early 1970s and the first Prolog system was developed in 1972 by Colmerauer with Philippe Roussel.

  • Version: 7.2.3

  • Compiled with: swipl --goal=main -O

  • Particulars: The main function should be called "main". Also, extension should be .pl and a file called load.pl should be included.