From 47027932460cfc6d547b6cfd12ed1c1af89296b4 Mon Sep 17 00:00:00 2001 From: "Flemming N. Larsen" Date: Sun, 15 Nov 2026 23:09:36 +0100 Subject: [PATCH] Retire TestEcho and TestEchoTwo from the test Rumble Rehearses a removal-only pull request: moderation escalates it, a moderator approves, and the publisher marks both catalog entries retired. --- bots/java/TestEcho/TestEcho.cmd | 13 ------------ bots/java/TestEcho/TestEcho.json | 10 --------- bots/java/TestEcho/TestEcho.sh | 12 ----------- bots/java/TestEcho/src/TestEcho.java | 24 ---------------------- bots/java/TestEchoTwo/TestEchoTwo.cmd | 13 ------------ bots/java/TestEchoTwo/TestEchoTwo.json | 10 --------- bots/java/TestEchoTwo/TestEchoTwo.sh | 12 ----------- bots/java/TestEchoTwo/src/TestEchoTwo.java | 24 ---------------------- 8 files changed, 118 deletions(-) delete mode 100644 bots/java/TestEcho/TestEcho.cmd delete mode 100644 bots/java/TestEcho/TestEcho.json delete mode 100755 bots/java/TestEcho/TestEcho.sh delete mode 100644 bots/java/TestEcho/src/TestEcho.java delete mode 100644 bots/java/TestEchoTwo/TestEchoTwo.cmd delete mode 100644 bots/java/TestEchoTwo/TestEchoTwo.json delete mode 100755 bots/java/TestEchoTwo/TestEchoTwo.sh delete mode 100644 bots/java/TestEchoTwo/src/TestEchoTwo.java diff --git a/bots/java/TestEcho/TestEcho.cmd b/bots/java/TestEcho/TestEcho.cmd deleted file mode 100644 index c0afbe7..0000000 --- a/bots/java/TestEcho/TestEcho.cmd +++ /dev/null @@ -1,13 +0,0 @@ -@echo off -setlocal -set BOT_API_VERSION=1.3.1 -if "%RUMBLE_JAVA_CACHE%"=="" set "RUMBLE_JAVA_CACHE=%TEMP%\rumble-bots-java" -if not exist "%RUMBLE_JAVA_CACHE%" mkdir "%RUMBLE_JAVA_CACHE%" -set "JAR=%RUMBLE_JAVA_CACHE%\robocode-tankroyale-bot-api-%BOT_API_VERSION%.jar" -if not exist "%JAR%" ( - curl -fsSL -o "%JAR%.tmp" "https://repo.maven.apache.org/maven2/dev/robocode/tankroyale/robocode-tankroyale-bot-api/%BOT_API_VERSION%/robocode-tankroyale-bot-api-%BOT_API_VERSION%.jar" - if errorlevel 1 exit /b 1 - move /y "%JAR%.tmp" "%JAR%" >nul -) -java -cp "%JAR%" "%~dp0src\TestEcho.java" %* -exit /b %errorlevel% diff --git a/bots/java/TestEcho/TestEcho.json b/bots/java/TestEcho/TestEcho.json deleted file mode 100644 index 636a231..0000000 --- a/bots/java/TestEcho/TestEcho.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "TestEcho", - "version": "1.0.0", - "authors": ["Flemming N. Larsen"], - "description": "Test submission that turns its gun and fires at scanned opponents. Used to check the test Rumble end to end.", - "platform": "JVM", - "programmingLang": "Java 25", - "gameTypes": ["1v1", "melee", "twinduel"], - "license": "Apache-2.0" -} diff --git a/bots/java/TestEcho/TestEcho.sh b/bots/java/TestEcho/TestEcho.sh deleted file mode 100755 index 9ce778f..0000000 --- a/bots/java/TestEcho/TestEcho.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env sh -set -eu -SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) -BOT_API_VERSION=1.3.1 -CACHE_DIR="${RUMBLE_JAVA_CACHE:-${TMPDIR:-/tmp}/rumble-bots-java}" -JAR="$CACHE_DIR/robocode-tankroyale-bot-api-$BOT_API_VERSION.jar" -if [ ! -f "$JAR" ]; then - mkdir -p "$CACHE_DIR" - curl -fsSL -o "$JAR.$$.tmp" "https://repo.maven.apache.org/maven2/dev/robocode/tankroyale/robocode-tankroyale-bot-api/$BOT_API_VERSION/robocode-tankroyale-bot-api-$BOT_API_VERSION.jar" - mv "$JAR.$$.tmp" "$JAR" -fi -exec java -cp "$JAR" "$SCRIPT_DIR/src/TestEcho.java" "$@" diff --git a/bots/java/TestEcho/src/TestEcho.java b/bots/java/TestEcho/src/TestEcho.java deleted file mode 100644 index 8707264..0000000 --- a/bots/java/TestEcho/src/TestEcho.java +++ /dev/null @@ -1,24 +0,0 @@ -import dev.robocode.tankroyale.botapi.Bot; -import dev.robocode.tankroyale.botapi.events.ScannedBotEvent; - -public class TestEcho extends Bot { - public static void main(final String[] args) { - if ("1".equals(System.getenv("RUMBLE_SMOKE"))) { - System.out.println("RUMBLE_SMOKE_READY TestEcho"); - return; - } - new TestEcho().start(); - } - - @Override - public void run() { - while (isRunning()) { - turnGunRight(10); - } - } - - @Override - public void onScannedBot(final ScannedBotEvent event) { - fire(1); - } -} diff --git a/bots/java/TestEchoTwo/TestEchoTwo.cmd b/bots/java/TestEchoTwo/TestEchoTwo.cmd deleted file mode 100644 index 52de38d..0000000 --- a/bots/java/TestEchoTwo/TestEchoTwo.cmd +++ /dev/null @@ -1,13 +0,0 @@ -@echo off -setlocal -set BOT_API_VERSION=1.3.1 -if "%RUMBLE_JAVA_CACHE%"=="" set "RUMBLE_JAVA_CACHE=%TEMP%\rumble-bots-java" -if not exist "%RUMBLE_JAVA_CACHE%" mkdir "%RUMBLE_JAVA_CACHE%" -set "JAR=%RUMBLE_JAVA_CACHE%\robocode-tankroyale-bot-api-%BOT_API_VERSION%.jar" -if not exist "%JAR%" ( - curl -fsSL -o "%JAR%.tmp" "https://repo.maven.apache.org/maven2/dev/robocode/tankroyale/robocode-tankroyale-bot-api/%BOT_API_VERSION%/robocode-tankroyale-bot-api-%BOT_API_VERSION%.jar" - if errorlevel 1 exit /b 1 - move /y "%JAR%.tmp" "%JAR%" >nul -) -java -cp "%JAR%" "%~dp0src\TestEchoTwo.java" %* -exit /b %errorlevel% diff --git a/bots/java/TestEchoTwo/TestEchoTwo.json b/bots/java/TestEchoTwo/TestEchoTwo.json deleted file mode 100644 index a0f3352..0000000 --- a/bots/java/TestEchoTwo/TestEchoTwo.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "TestEchoTwo", - "version": "1.0.0", - "authors": ["Flemming N. Larsen"], - "description": "Test submission that turns its gun and fires at scanned opponents. Used to check the test Rumble end to end.", - "platform": "JVM", - "programmingLang": "Java 25", - "gameTypes": ["1v1", "melee", "twinduel"], - "license": "Apache-2.0" -} diff --git a/bots/java/TestEchoTwo/TestEchoTwo.sh b/bots/java/TestEchoTwo/TestEchoTwo.sh deleted file mode 100755 index 75f52a6..0000000 --- a/bots/java/TestEchoTwo/TestEchoTwo.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env sh -set -eu -SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) -BOT_API_VERSION=1.3.1 -CACHE_DIR="${RUMBLE_JAVA_CACHE:-${TMPDIR:-/tmp}/rumble-bots-java}" -JAR="$CACHE_DIR/robocode-tankroyale-bot-api-$BOT_API_VERSION.jar" -if [ ! -f "$JAR" ]; then - mkdir -p "$CACHE_DIR" - curl -fsSL -o "$JAR.$$.tmp" "https://repo.maven.apache.org/maven2/dev/robocode/tankroyale/robocode-tankroyale-bot-api/$BOT_API_VERSION/robocode-tankroyale-bot-api-$BOT_API_VERSION.jar" - mv "$JAR.$$.tmp" "$JAR" -fi -exec java -cp "$JAR" "$SCRIPT_DIR/src/TestEchoTwo.java" "$@" diff --git a/bots/java/TestEchoTwo/src/TestEchoTwo.java b/bots/java/TestEchoTwo/src/TestEchoTwo.java deleted file mode 100644 index 795ae78..0000000 --- a/bots/java/TestEchoTwo/src/TestEchoTwo.java +++ /dev/null @@ -1,24 +0,0 @@ -import dev.robocode.tankroyale.botapi.Bot; -import dev.robocode.tankroyale.botapi.events.ScannedBotEvent; - -public class TestEchoTwo extends Bot { - public static void main(final String[] args) { - if ("1".equals(System.getenv("RUMBLE_SMOKE"))) { - System.out.println("RUMBLE_SMOKE_READY TestEchoTwo"); - return; - } - new TestEchoTwo().start(); - } - - @Override - public void run() { - while (isRunning()) { - turnGunRight(10); - } - } - - @Override - public void onScannedBot(final ScannedBotEvent event) { - fire(1); - } -}