a template for a known game of guessing a magic number