- Updated Saturday, July 11th 2015 @ 23:17:30
Hi, I'm trying to get my super simple ruby bot to start.
this is my code:
loop do gets puts 'drop' end
This is the response I get
Response timed out (10000ms), let your bot return 'no_moves' instead of nothing or make it faster.
Output from your bot: null
- Created Sunday, July 12th 2015 @ 18:00:26
So it seems I have to flush the buffer.
STDOUT.flushafter puts, solves the issue.