Question d’entretien chez Vanguard

How would you program a hangman-like game?