Generic logic for farm or strategy style game