Killing off a main character at the end of a video game is always a risky move for a developer to make. After all, players are going to be controlling this person for an entire story, so to reach the end, only for them to be killed off, can come across as a little unsatisfying or even infuriating at times. However, when done right, this can be very emotionally impactful, and can even make the whole journey feel all the more special, depending on what the protagonist gives their lives up for during their final few moments.