Xpilot-AI Documentation

Welcome to the Xpilot-AI documentation! This guide will help you get started with creating AI bots for the classic multiplayer space combat game XPilot.


📚 Function Library

Information about various Xpilot-AI functions. Complete API reference with all available functions organized by category.


🔄 Versions

Xpilot-AI 1.0 is based on XPilot Classic 4.5.5 and supports C, Java, Python, and Racket (previously PLT Scheme).

We provide a custom server which adds switchBase, a flag to switch a player's spawnpoint upon death at a given probability. This server is not required to run Xpilot-AI bots, as they can join any server the client is capable of, but is available to aid in the learning of evolutionary AI so they do not develop a solution fit for only one spawnpoint.

Note: Documentation for the previous, now retired versions of Xpilot-AI can be found here.


🔧 Installation Guide

Information on how to install XPilot and Xpilot-AI on various platforms.


🚀 Examples & Getting Started

This page explains the basic premise of how to write, compile, and run a bot.

We have written several example bots to help you get started:

Sample Bots

  • Spinner - The most basic bot which constantly turns left
  • Tester - Exemplifies a call to each AI function
  • Helper - Slowly drifts, constantly spinning and shooting

Additional Examples: More example bots can be found here.


â„šī¸ About

General information regarding Xpilot-AI, including links to related projects and creator information.


Quick Navigation

Section Description
📚 Library Complete function reference
🔄 Versions Version info & features
🔧 Install Installation instructions
🚀 Examples Code examples & tutorials
â„šī¸ About Project info & links