Like it runs on the command prompt, not really graphical
It has to run in Itch.io. Generally a WebGL build of the game and not a downloadable so no command prompt. Text base games are allowed yes but they'd have to be in some sort of fake terminal your game maybe?
If you manage to replicate the terminal in an engine like Unity (or something else where you can export to HTML) you probably can