How Mathematics Reveals Patterns in Modern Games