Cao Pi debuted as a playable character in Dynasty Warriors 5 (2005), as well as its expansions Xtreme Legends and Empires, where he fights using a unique dual-headed sword. He also appears as a recruitable ruler and general in the strategy game Romance of the Three Kingdoms III: Dragon of Destiny (1993). Within these games, he is depicted as the cold, calculating son and heir of the Wei faction leader, Cao Cao.
In
Dynasty Warriors 5, his narrative arc focuses heavily on his complex relationship with his wife, Zhenji, and his intense rivalry with his brother, Cao Zhi, for their father's succession. His Musou Mode campaign culminates in the establishment of the Cao Wei dynasty, portraying his transition from a ruthless prince to an emperor. The character's visual design in these 2005 releases incorporates dark blue and purple imperial robes, distinguishing his aesthetic from the standard blue of the Wei military.
Within
Dynasty Warriors 5 Xtreme Legends, players can experience his dedicated Legend Mode stage, which tests his strategic independence away from his father's shadow. In the strategic simulation
Dynasty Warriors 5 Empires, his character possesses specific policy cards that enhance troop recruitment and territory defense. For players of
Romance of the Three Kingdoms III Dragon of Destiny, he serves as a high-tier administrative officer with elevated political and charisma statistics, allowing players to efficiently govern cities, draft treaties, and manage domestic development in the northern provinces during the later scenarios of the campaign.