Sounds like the mechanic for Marginalia Hero: Marginalia hero — medieval one tap game
Ask in that thread perhaps?