Python simple solution
Just scan the array and count the number of consecutive A\'s or B\'s of length 3\n\n\nclass Solution:\n    def winnerOfGame(self, colors: str) -> bool:\n       
Just scan the array and count the number of consecutive A\'s or B\'s of length 3\n\n```\nclass Solution:\n    def winnerOfGame(self, colors: str) -> bool:\n        \n        num_3consecutive_As = 0\n        num_3consecutive_Bs = 0\n        \n        for i in range(0, len(colors)-2):\n            \n            if colors[i] == colors[i+1] == colors[i+2]:\n                if colors[i] == \'A\':\n                    num_3consecutive_As += 1\n                else:\n                    num_3consecutive_Bs += 1\n        \n        return num_3consecutive_As > num_3consecutive_Bs\n```
[]