a silly game written in typescript