Code game application with Ruby on Rails