WarshipCombat Game in TypeScript