Small code game application with Ruby on Rails