✅Simple and Clear Python3 Code✅
\n\n# Code\n\nclass Solution:\n    def winnerOfGame(self, colors: str) -> bool:\n        alice,bob = 0,0\n        n=len(colors)\n        for i in range(n-2):\n 
\n\n# Code\n```\nclass Solution:\n    def winnerOfGame(self, colors: str) -> bool:\n        alice,bob = 0,0\n        n=len(colors)\n        for i in range(n-2):\n            x=colors[i:i+3]\n            if x==\'AAA\':\n                alice+=1\n            elif x== \'BBB\':\n                bob+=1\n\n        return alice>bob\n```
['Python3']