Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I started making a bot last night but it keep getting disconnected in the first 10ish rounds. Anyone else see this and resolve it?


Could you give us some details on this? Like which web socket library you used, the technology you used, etc?

If you copy & paste the example bot verbatim, does that work for over 10 rounds? As far as I know we've got tens of bots working at the moment and I haven't heard this strange problem from anyone else.


I don't have the code handy at the moment but I was using ruby with this socket.io gem 'socket.io-client-simple'

I was able to connect, join a game, send chat messages, just couldn't stay connected.

I basically just converted the JS tutorial on the site to ruby style.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: