TP 13 exo2: Implement the missing bits to do a full game.