Tic Tac Toe built w/ Rivercut
If you want to dev rivercut alongside tic tac toe:
- Clone Rivercut
npm i && npm link
- Clone this repository
npm i && npm link rivercut
Otherwise:
npm i
- Create a
.env
file with:DEEPSTREAM_URL
(You can get a deepstream free here)DEEPSTREAM_TOKEN
(You need a token for the server process to be authoritative)
npm start
If you're using the local deepstream and auth service, you can make this your .env
file:
DEEPSTREAM_URL=ws://127.0.0.1:6020/deepstream
DEEPSTREAM_TOKEN=MdKTi3fEg99ZeOsgRIaVJr8D9fZq0XNT
The token is a hardcoded auth token.
See the RiverCut permissions note to set up the correct permissions for this demo.