There are 4 different roles in the SanGuoSha game...
*EDIT: Ruler starts with one more life [i.e: card says ❤❤❤❤ ruler has ❤❤❤❤❤]

Ruler 主公: as the ruler your role card is flipped face up so everyone knows you are the ruler
- your goal in the game is to kill all the Rebels 反贼 and Traitor(s) 内奸
Loyal 忠臣: Similar to the Ruler, your goal is to take out all the Rebels 反贼 and Traitor(s) 内奸
- protect your ruler at all costs, you win if the ruler wins!
Rebels 反贼: Your only goal is to kill the Ruler
-> as long as the Ruler doesn't die from a 1v1 with the traitor
*Team up with your fellow rebels and take down the ruler ^.^
Traitor 内奸: Your goal is to kill everyone else in the game and then go one on one vs the King and beat him
- it's pretty uncommon for the Traitor to win cause as you can tell the goal is much harder
* in online play, the Traitor gets as many points as if he won, if he lasts until the 1v1
[Online play] When the game starts, you can see your role at the bottom right as depicted by this picture~!