Bowling Score implementation based on TypeScript and AMD approach.