Live data from Hacker News

Show HN: Twitch Plays Doom

news.ycombinator.com

1–10 of 43 posts

Show HN: Twitch Plays Doom

#1
This is the inevitable post after jeff_harris released restful-doom https://news.ycombinator.com/item?id=14919534

twitch-plays-doom is a Python Twitch IRC->restful-doom proxy to control doomguy with a staggering 8 second delay.

The project was Saturday night's 'I wonder if I can make this work' session. Since it's been live there has been a team of four successfully make it to half way through E01M01.

I've since added godmode to the chat (you can guess the command).

This was fun, hope others get some enjoyment out of it.

Twitch Stream/Chat https://www.twitch.tv/dddanmar/

twitch-plays-doom https://github.com/dddanmar/twitch-plays-doom/

restful-doom https://github.com/jeff-1amstudios/restful-doom/

chocolate-doom https://github.com/chocolate-doom/chocolate-doom/

Re: Show HN: Twitch Plays Doom

#3
Okay, I've been watching this for a few minutes, and... the 8 second delay is FAR too long.

Doom is simply too interactive. You need to be able to control it in realtime.

I recommend three things:

- Slow the delay right down, and possibly make it adjustable via chat commands. A 500ms-1s delay is honestly going to be the best possible thing here. Yes, some players will lag too much and won't be able to play at those latencies - which is why you make it adjustable.

- Show, inside the video stream, the command that is currently executing, and the username executing from. This will create a unique tuple that will allow players to figure out the sync for themselves.

- A consensus system that tallies up the next key to press, TpP-style, might be a good idea. Right now everyone's fighting to cooperate because it's concatenating everyone's actions together.

Re: Show HN: Twitch Plays Doom

#4
post #3

Okay, I've been watching this for a few minutes, and... the 8 second delay is FAR too long. Doom is simply too interactive. You need to be able to control it in realtime. I recommend three things: - Slow the delay right down, and possibly make it adjustable via chat commands. A 500ms-1s delay is honestly going to be the best possible thing here. Yes, some players will lag too much and won't be able to play at those l…

I think the delay is due to Twitch itself.

Re: Show HN: Twitch Plays Doom

#5
post #2

Type `iddqd` to toggle god mode Edit: I'm getting downvotes for this? It's in the posted source code: https://github.com/dddanmar/twitch-plays-doom/blob/master/tw...

It looks like there are two factions forming over the control of `iddqd` command.

It's a battle of trying to keep the marine alive versus killing him. Every-time someone types iddqd, god mode is toggled.

God mode makes the character invincible, without god mode on the marine dies in a few seconds.

Re: Show HN: Twitch Plays Doom

#6
post #3

Okay, I've been watching this for a few minutes, and... the 8 second delay is FAR too long. Doom is simply too interactive. You need to be able to control it in realtime. I recommend three things: - Slow the delay right down, and possibly make it adjustable via chat commands. A 500ms-1s delay is honestly going to be the best possible thing here. Yes, some players will lag too much and won't be able to play at those l…

I think the delay is due to Twitch itself.

100% - the delay is as low as I can get it.

Twitch uses RTMPE for the most part, it's always going to be a little delayed. It's a decent box, compression is on, connected to fibre internet.

If anyone has any ideas of reducing latency I'd love to hear it!

Re: Show HN: Twitch Plays Doom

#7
post #5
post #2

Type `iddqd` to toggle god mode Edit: I'm getting downvotes for this? It's in the posted source code: https://github.com/dddanmar/twitch-plays-doom/blob/master/tw...

It looks like there are two factions forming over the control of `iddqd` command. It's a battle of trying to keep the marine alive versus killing him. Every-time someone types iddqd, god mode is toggled. God mode makes the character invincible, without god mode on the marine dies in a few seconds.

This has been my favourite part of the entire stream, didn't expect factions forming at all!

Re: Show HN: Twitch Plays Doom

#8
post #3

Okay, I've been watching this for a few minutes, and... the 8 second delay is FAR too long. Doom is simply too interactive. You need to be able to control it in realtime. I recommend three things: - Slow the delay right down, and possibly make it adjustable via chat commands. A 500ms-1s delay is honestly going to be the best possible thing here. Yes, some players will lag too much and won't be able to play at those l…

Showing the executed command and who on screen for syncing purposes is a great idea, I'll take a look at that now!

Re: Show HN: Twitch Plays Doom

#9
post #6

Earlier quoted context omitted.

I think the delay is due to Twitch itself.

100% - the delay is as low as I can get it. Twitch uses RTMPE for the most part, it's always going to be a little delayed. It's a decent box, compression is on, connected to fibre internet. If anyone has any ideas of reducing latency I'd love to hear it!

No agfiliation, but Mixer/Beam [0] had a much lower delay than twitch. It unfortunately has the issue of not having anywhere the popularity of twitch.

[0] https://mixer.com

Post reply on HN