Common patterns in video games