Socrates appears as a major historical character in Assassin's Creed Odyssey.
Odyssey is set in ancient Greece during the Peloponnesian War, which lasted from 431 to 404 BCE. Socrates meets the game's protagonist, Kassandra or Alexios depending on the player's choice, and is portrayed using questioning and debate in a way inspired by accounts of his philosophy.
The game includes many historical figures, including Pericles, Aspasia, Herodotus, and Hippocrates. Their appearances place the fictional family story within a recognizable classical Greek setting.
Socrates should not be confused with Pythagoras, who also appears in Odyssey but belongs to a separate storyline involving ancient knowledge and the Staff of Hermes. Plato and Aristotle are important Greek philosophers, but they are not the philosopher featured in the question.