A Ruby bot written for a programming contest