Good or Bad ending

Good day everyone,

This is my first post, so I will try to be brief.

I am currently working on my final dissertation project, which will have 7 scenes. Within each scene the player will have to make a choice at the end of each of them (good/bad).

How can I keep a record of the choices, so that after the end of the 7th scene, the game can either play the good cutscene, or the bad cutscene ?

Thank you very much for your time.

Attach a static variable to your player and increase (good choice) or decrease (bad choice) it by one in each level. At the end you see if it is greater than 0 and if so you get the good ending.