Folks have been doing it for decades. E.g.
https://en.wikipedia.org/wiki/Roguelike
Wait till he finds out there are text-based adventure games!