We study the problem of optimal retirement-income design in a pure discrete-time tontine subject to both idiosyncratic and systematic longevity risk. To obtain analytical tractability, we model mortality using a discrete-time affine counting process with a closed-form moment generating function (MGF).