A TypeScript implementation of the Sprouts game