A janky interface for spacetraders.io, written in R/shiny
I don't know, I haven't tested it. You can try installing it like a package, but that probably won't work.
The dependencies are listed in DESCRIPTION. Make sure those are installed.
Then you can either call the functions from the console or run the shiny app in spacedash/
Here is roughly how to do the tutorial, but using this interface:
new_agent(base_url, "AGENT_NAME")
Note: After creating a new agent you will need to load your token.txt
using token <- readLines(here::here("token.txt"))
. Afterward the token should be automatically read.
agent_info(token, base_url)
TBD. Can be done using raw send_request()
functionality
contracts(token, base_url)
TBD. Can be done using raw send_request()
functionality
navigate(token, base_url, "BIONIC-1", "X1-ZA40-99095A")
dock(token, base_url, "BIONIC-1")
refuel(token, base_url, "BIONIC-1")
orbit(token, base_url, "BIONIC-1")
extract(token, base_url, "BIONIC-1")
run_swarm(token, base_url)
- Ships currently get "stuck" sometimes when delivering cargo. They can be "bumped" using the shiny app