Skip to content

Sample script for using the RL interface in 0 AD from NodeJS

Notifications You must be signed in to change notification settings

brollb/0ad-rl-interface-js-sample

Repository files navigation

Simple(st) script using RL interface from NodeJS

This is a very simple script running a scenario in 0 AD from NodeJS

Instructions

First, install NodeJS. Next install the dependencies by running the following from the project directory:

npm install 

Then, start 0 AD in another terminal with the RL interface enabled. For example, you might run the following:

pyrogenesis --rl-interface=127.0.0.1:6000 --autostart-nonvisual

Finally, run the run-scenario.js script:

node run-scenario.js

About

Sample script for using the RL interface in 0 AD from NodeJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published