Studying the emergence of invasiveness in tumours using game theory