A program that allows Twitch viewers to control a streamer's game of Jak and Daxter: The Precursor Legacy using commands sent in Twitch chat.
- Clone the repository to your local machine.
- Install the required dependencies by running
npm install. - Create a Twitch account and register a new application in the Twitch Developer Console.
- Set up environment variables for the Twitch application client ID and client secret in a
.envfile. The variables should be namedTWITCH_CLIENT_IDandTWITCH_CLIENT_SECRETrespectively. - Run the program using
npm start.
Once the program is running, viewers can use commands in Twitch chat to control the game being played by the streamer. The available commands are as follows:
jump: Makes Jak jump.spin: Makes Jak perform a spin attack.pause: Pauses the game.resume: Resumes the game.left: Moves Jak to the left.right: Moves Jak to the right.up: Makes Jak look up.down: Makes Jak look down.cameraleft: Moves the camera to the left.cameraright: Moves the camera to the right.camerazoomin: Zooms the camera in.camerazoomout: Zooms the camera out.
Contributions are welcome! To contribute, please create a new branch with your changes and submit a pull request for review.
This program is licensed under the MIT License.