The ad, created by Agency Republic, is based on the game Pac-Man. Players are challenged to give their "texting thumb" a work-out and guide a mobile phone around the maze, eating as many text messages as they can.
The game will be posted on a range of youth-oriented and e-commerce sites and will drive users to the O2 online shop.
James Cooper, the creative director at Agency Republic, said: "Why do a normal banner when you can do an interactive game?"
The campaign breaks on Thursday and will run for six weeks. It was art directed by James Cooper and written by David Newby. Media planning and buying was also through Agency Republic.