Skip to content

An API to fetch video frames of Doom based on a given input

Notifications You must be signed in to change notification settings

lorencerri/play-doom

Repository files navigation

Play Doom!


Controls (rewind)

Meta Actions

Videos

## END_GAME ##

play-doom

An API wrapper for @lorencerri/doomreplay, enter the submodule for more information.

Statistics

Endpoints

GET /stats?image=true # Returns the global stats

GET /video/:namespace/current # Returns a video of the full current run
GET /video/:namespace/full # Returns a video of all the previous runs combined
GET /video/:namespace/combined # Returns a video of all the previous runs combined, plus the current run

GET /frame/:namespace?type=gif # Returns the current frame

GET /input/:namespace?image=true # Returns an image or text
GET /input/:namespace/reset?callback="" # Resets the input buffer
GET /input/:namespace/append?keys=""&callback="" # Appends keys to the input buffer
GET /input/:namespace/rewind?amount=1&callback="" # Rewinds the input buffer by N keys

Notes

  • Use git clone --recursive https://github.com/lorencerri/play-doom.git to clone play-doom & doomreplay
  • Use vscode-drawio to open play-doom.drawio in vscode

About

An API to fetch video frames of Doom based on a given input

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published