It's official - the latest revision of XPilot-AI is live and the source code is available for download right now in the Downloads section!

The most notable addition is the headlessMode function, which allows XPilot agents to run without opening a real game window. Other fixes include:

  • The removal of unnecessary flag parameters in wallFeeler functions
  • The addition of an index parameter to all HUD functions, allowing them to account for more messages
  • hudName has been renamed simply to hud
  • An addition to the selfTracking functions that returns heading when the ship is not moving
  • A new function called scanGameMsg that returns in-game messages, which works much like scanMsg

We hope these fixes and improvements will give you an even better experience in coding new bots. Please leave any feedback for future revisions in the forums!

All the best,

The XPilot-AI Team

XPilot is an open-source 2-dimensional space combat simulator which is playable over the internet. Multiple players can connect to a central XPilot server and compete in many varieties of game play, such as free-for-all combat, capture-the-flag, or team combat. Each player controls a space-ship that can turn, thrust, and shoot. There is often a variety of weapons and ship upgrades available on the particular map in which they play. The game uses synchronized client/server networking to allow for solid network play.

Sel Bot

Xpilot-AI is being developed as a platform for research in autonomous agent learning.

Modifications have been made to XPilot to create a system for testing artificial intelligence (AI) agent learning systems. The XPilot client, which a player uses to join with an XPilot server, is mainly used to display relevant information about the game world to the player and to capture keyboard and mouse input that it sends it to the server. Between each frame, the client receives from the server information that is needed to display the player's ship and the surroundings. This information is intercepted and converted into variables relevant for use with an AI agent. Keyboard strokes and mouse movements to control the ship are simulated.

There are currently two supported versions of Xpilot-AI:
Xpilot-AI 1.0 based on XPilot Classic 4.5.5
Xpilot-ng-AI 0.9 based on XPilot NG 4.7.3

Both versions support C, Java, Python, and Racket (previously PLT Scheme).

For more information on Xpilot-AI and XPilot itself, see our versions page.

We are working to build clearer and more in-depth documentation, so please check it out and leave us some feedback on the forums.

Also, who could be opposed to a sweet looking XPilot wallpaper?