6 ms·
Would be good with some type of voting algorithm and a clock so only one command per few seconds.
by jtchang 13y ago
Would be good with some type of voting algorithm and a clock so only one command per few seconds.
- naiyt 13y agoWell, I think the chat is set in slow mode, so you can only send a command once every 30 seconds. I tried to implement a voting algorithm on the Dark Souls stream I did today, but I didn't have enough people for it to work. The idea was to have up to 10 actions queued at any given time, and requiring each action to have been voted on N number of times before it is queued. Eventually I just removed the voting and let people control directly, since it was going to slow with the 50-100 or so people we had.
- ufo 13y agoThe system already ignores most of the commands due to how the game works. Essentially, it picks a move at random every frames or so. And if you look at the live stats of the voting, you can see that the people tend to vote in a single direction at a time already: https://sheltered-reef-4687.herokuapp.com/ https://sheltered-reef-4687.herokuapp.com/ I think that the long stream delay is a bigger problem then the randomness. People tend to vote according to what the stream is currently showing but the votes will actually be counted 20 to 40 seconds in the future.
- JimmaDaRustla 13y agoThis would change it completely - rather to use the spam chat, just aggregate the data from the last performed command, maybe half to 1 second delay, then poll the commands for 1s or something and perform the highest voted action. It'd be nice to have a little green/red indicator when commands are being accepted.