Code-breaking game built with TDD in Ruby