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 |