Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 6.71 KB

README.md

File metadata and controls

62 lines (43 loc) · 6.71 KB

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