2.1 KiB
2.1 KiB
Digital Dojo Bot Controller
This Avalonia app runs an autonomous bot for the Digital Dojo singleplayer API and visualizes both current game state and inferred enemy knowledge.
What it does
- Starts/uses your current game session (
/api/game/{key}/create,/status) - Runs a cooldown-aware combat loop (
move,hit,shoot,specialattack,radar,scan,peek,dash) - Tries to maximize score by prioritizing fast damage actions when enemies are nearby
- Shows live stats (kills/deaths, HP, level progress, remaining time)
- Shows a local knowledge map:
P= estimated player positionN= nearest enemy from latest scan* + .= inferred enemy threat intensity
- Shows cooldown timers and action reasoning/logs
- Writes per-session analytics logs for post-run analysis
Setup
Set your API key (GUID) in one of these ways:
- Environment variable:
APIKEY - User secrets (
Programalready loads user secrets) - Paste it directly into the UI text box before clicking Start Bot
Run
dotnet run --project /home/tikaiz/RiderProjects/digitalDojo/DDApp/DDApplication/DDApplication.csproj
Notes
- Position and map are inferred from your own movement + sensor calls (not an authoritative server map).
- The strategy is level-aware:
Default Level: balanced combat with short escape commitmentsBigger Map Level: more scouting and stronger anti-loop explorationMore Bots Level: safer special-attack usage and tighter targetingNew Bots Level: more ranged pressure and less chasing of teleporting targets
- The strategy is heuristic and tunable; it is designed for high kill throughput while respecting API cooldowns.
- Session logs are written to
~/.local/share/DDApplication/logson Linux:*.events.csvcontains timestamped telemetry, decisions, and events*.summary.csvcontains machine-readable summary metrics and action rateslatest-summary.log.csvis a symlink that auto-points to the newest*.summary.csvlatest.logis a symlink that auto-points to the newest*.events.csvsession log