News for hackers. Stuff that matters.
Re:Play a Ruby + AI Coding Game in Your Browser via Bloc by JonLim on Friday January 06, 2012 @02:46PM (#3434723)
Actually level 5 is kinda wonky. The tips tell me to rescue captives, but regardless of what I do, it just says this:

    > Oops, looks like there was a syntax error in your code. Try again and click "Grade it!"
Without anything for me to look at. Weird.
Re:Play a Ruby + AI Coding Game in Your Browser via Bloc by bct on Friday January 06, 2012 @05:15PM (#3435314)
I had the same problem, for some reason

    get '/:short_code' do
    end
got inserted at the end of the textarea.
Re:Play a Ruby + AI Coding Game in Your Browser via Bloc by germano on Friday January 06, 2012 @09:44PM (#3436027)
It looks like this is because rescue is a reserved word in Ruby (Disclaimer: I'm not a Ruby expert, just basing this on a Google search and the syntax highlighting)