This is an example demonstrating the real-time capabilities of slp-realtime
.
This script connects to a Dolphin instance or Slippi relay, automatically
detects combos, and generates a Dolphin-compatible combos.json
file
when disconnected from the relay.
- Clone the repo, install the dependencies, and build the library to be used by the example.
git clone https://github.com/vinceau/slp-realtime
cd slp-realtime
yarn install
yarn run build
- Prepare the example by changing directory into the example folder and installing the dependencies.
cd examples/dolphin-or-relay-connection
yarn install
- Set the address and port
Open up the index.js
file in your favourite editor, and modify the values for ADDRESS
and PORT
appropriately.
- Run the actual code
node index.js