You get points by participating in the various battle buildings. Higher difficulties give you more points. Beating a frontier brain gets you several points, more than you would from the previous trainers.