A computer interface on an object

Hello guys, I’ve been looking through threads for a tutorial on how to create a usable computer, with a separate interface and a command-prompt like features like “Colossal Cave Adventure”, where there’s a response for each entry.
So I was wondering, how many ways are there to achieve this?