You earn XP from everything. Like building a tier building gives XP. Winning gives XP. Getting little ribbons give bonus XP. Playing vs. the AI gives XP. Playing the campaign will give XP. Basically any way that you play the game will give you XP, and whether you win or lose has relatively little matter.
What we're all waiting to see is how the ELO system will work, how ladders will be displayed, how wins and losses will be displayed, etc.
![Honor icon](/images/replay/honor_icon.png)