In the original Shin Megami Tensei, the game gave you an alignment around 1 quarter in, composed of two parts:
A morality, either Dark or Light. Fairly self explanatory: Dark demons are assholes who take all your money then run away, Light demons are cool with humans and are to negotiate with.
And a faction: Chaos, Law, or the third - and sanest - option: Neutral. Each faction has exclusive weapons and demons, except Neutral.
At certain points after the game becomes non-linear (about 30% in) you are sent into specific plotlines depending on your alignment, but the game never "locked" you in, meaning that if you accidentally changed alignments during these branching plotlines you were pretty much fucked.