PPCG – Spacewar! King of the Hill

Action Red Blue
Turn left Z N
Turn right X M
Hyperspace C ,
Fire engine V .
Fire missile B /
Reset field SPACEBAR
Restart game S
Stop anim ESC
Resume anim ENTER

Gravity? Intersections? Accelerated?
Number of games per pair:

function userbot_setup(team) {
    var botVars = {};
    return botVars;

function userbot_getActions(gameInfo, botVars) {
    var actions = [];
    return actions;

Special credit to PhiNotPi and BrainSteel of PPCG for invaluable testing and bug-fixing help, and to C????O'B???? for his contributions to code.

Minor modifications for Evolution1 programming challenge by JTown

Bot Developer Last Updated
bot_Extratorrestrial.js Josh Torres 2016-04-11 19:43:53
bot_GBot.js Adam Gamzon 2016-03-29 17:38:28
bot_Twitch.js jtownsend 2016-03-18 15:42:51
bot_Sniper.js Unknown 2016-03-17 19:38:43
bot_TheSunSucks.js Unknown 2016-03-14 20:48:04
2018-12-15 05:08:27