Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 554 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 554 Bytes

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