Codex Gamicus

Karateka is a martial arts game designed by Jordan Mechner. It is designed to resemble classic martial arts films, including cinematic techniques such as cross-cutting.

From the in-game introduction:

High atop a craggy cliff, guarded by an army of fierce warriors, stands the fortress of the evil warlord Akuma. Deep in the darkest dungeon of the castle, Akuma gloats over his lovely captive, the princess Mariko.
You are one trained in the way of karate: a karateka. Alone and unarmed, you must defeat Akuma and rescue the beautiful Mariko.
Put fear and self-concern behind you. Focus your will on your objective, accepting death as a possibility. This is the way of the karateka.