generate puzzle template
simulate human solve puzzle, for the ranking purpose