Questions tagged [text-based]
233 questions
41
votes
7 answers
Elinks or Lynx?
Please, state your reasons for your terminal browser. Why are you using Lynx or Elinks? How do they help you in programming?

Léo Léopold Hertz 준영
- 134,464
- 179
- 445
- 697
6
votes
4 answers
Handling time in a text-based game (Java)
I'm trying to work up a basic text-based game as I'm learning Java. I'd like to be able to count rounds in the game as a means of managing the pacing of certain events. For instance, changing rooms could be limited to once per round (a second, in…

eenblam
- 438
- 1
- 6
- 20
6
votes
5 answers
Text based browser game
I wanted to create a text based browser game, so how should I go about? I can do programming in asp or jsp or php that is not a barrier, but I am unaware of what steps that one needs to follow while attempting to make such games. So please guide…

5lackp1x3l0x17
- 349
- 2
- 7
- 14
5
votes
1 answer
Are there any text-based progress bar implementations?
I'm trying to create a terminal-based backup program and I'm looking for some C++ code that creates a text-based progress bar. I understand you can implement it yourself with \b but I thought I'd see if there is any well-built implementations…

Will03uk
- 3,346
- 8
- 34
- 40
4
votes
0 answers
text user interface library for clojure
I'm writing an application in Clojure. The internals are already written, but what I am struggling with now is the interface.
I do intend at some point to use Seesaw for a GUI interface. However, I would also like to provide a text-based interface…

xobicvap
- 292
- 2
- 11
4
votes
2 answers
Is it smarter to stream in large strings from an external .txt file, or to simply code them directly in?
I'm working in Java, though I'm sure this question extends to multiple other languages and situations.
If I am periodically displaying large chunks of text in a JTextPane,
Is it better to write them into a .txt file and periodically call upon
a…

Remption
- 220
- 1
- 7
4
votes
3 answers
How do I get realtime keyboard input in Python?
Is this possible? Every answer I have looked at isn't what I want. What I do though is something like in omega-rpg (which is an awesome little text-based debian rpg), but in Python instead of C. I have poked around and found some things, but nothing…

user1610406
- 722
- 1
- 13
- 24
3
votes
2 answers
How to create rooms in a text based game(Beginner)
I'm very new to Java and am not sure if I'm even allowed to ask questions of this nature here but I'll give it a shot. I want/need practice programming Java so I've decided on a rather large project that should be within my capabilities I've started…

Suavelizard
- 147
- 3
- 16
3
votes
3 answers
Creating a text based game in Python. How to check for user-input?
I am creating a text based game in Python and need help with splat parameters. I have a function that tests if input is valid, and also allows you to access your inventory. I have two parameters, one that gets the input prompt, and one that is…

Conyare
- 105
- 10
3
votes
2 answers
How do I create a gui for java that acts like a console
I created a text-based game similar to Zork and I need a gui to run it outside of Eclipse. I want to run it as a jar. (by the way I'm on a mac if that changes anything). I only need an output field and an input field. What would be the easiest way…

user2127232
- 31
- 1
- 2
3
votes
1 answer
How to make a Linux program with a TUI
I want to make a Linux program with a text-based user interface. What is the best way to go about this? Upon searching the internet I discovered the curses and ncurses libraries. What are the differences between the two, and which if any is better…

Mahdi
- 967
- 4
- 18
- 34
2
votes
3 answers
Simple Natural Language Parser in Objective-C
I'm building this app for Mac OS X v10.6
I'm building a text-based adventure and I've created a very simple natural language parser that can process the commands that the user types. So far it works great and can parse sentences such as: "take the…

Sarathi
- 1,023
- 1
- 14
- 22
2
votes
2 answers
How to establish two-way connection between HTML and JS files?
I'm making my first text-based interactive scenario, I want the user to enter whatever they want and click Submit. There is just title, some scenario text, a typing space and button to Submit, however when I press the submit, it always gives error…

Dimh Doychev
- 23
- 4
2
votes
1 answer
How can I make multiple text based java menus work?
I have a main menu for a movie kiosk, I can type a number (in this case 5) and it will take me to an admin menu. The problem is the admin menu has a different set of cases and when I enter a number to access a case from the admin menu it just takes…

T Dizzle
- 69
- 7
2
votes
2 answers
C# Text-Based Game reads as no errors but closes after first choice
This is the example, please go easy on me as this is the first code I've really ever written. I'm not certain the formatting will translate entirely. This code was running fine until the last edit in which I changed the "rand" to "rand1" as if was…

Josh Henry
- 23
- 3