Questions tagged [text-based]

233 questions
-2
votes
1 answer

Should I use threads when making a text based operating system in java?

I am making text based operating system in java and i am wondering if i should use threads. It has a GUI but you type commands and press a button to enter them. Then it spits back out text in a textArea. When should i use threads and how do i use…
mrspy1100
  • 41
  • 1
  • 1
  • 4
-3
votes
2 answers

Text-Based Game in Java. Need advice with Inventory Implementation and general coding advice

I'm having trouble figuring out how to deal with an Inventory for my text based java game. I just finished Data Structures and Algorithms, so I figured this would be a good project for my resume. Currently, I create the inventory in the…
JKolb
  • 23
  • 6
-3
votes
2 answers

Keep getting error: expected unqualified id at end of input- C++

I keep getting this error when I try to run my code, and always on the very last line. I am attempting to make a text-based adventure game. It appears (when I run this) that this is my only error. But if there are more that any of you notice, the…
El Bears-O
  • 17
  • 1
  • 1
  • 6
-3
votes
2 answers

Textbased Hangman - JavaScript

I have a non-marked brainstorming exercise to do which is related to a further marked coursework which will be similar but more complex. The task for the non-marked text-based Hangman is basically to create a JavaScript Hangman game that uses any of…
user2182718
  • 25
  • 1
  • 3
-4
votes
2 answers

Java: Text-based RPG: GameOver Logic

I think my question is simple. I'm going through a Java book for beginners and decided to make a fun little game based on what I had learned so far (I am mostly through the book at the chapter before Objects so forgive my beginner-type design). I'm…
RodNICE
  • 25
  • 1
  • 7
-4
votes
3 answers

Cmd commands in C#

I'm writing a small text-based adventure in C# that uses the command prompt for everything, and I'm looking for a way to change the colour of outputted text. None of the methods I've looked at have worked properly.
-4
votes
1 answer

How can I port a text based game on eclipse to android

I am writing a text-based game in java on eclipse. It's similar to zork if you've ever played that. I wondered if there was any way to take my program and turn it into an android app easily, or if I would need to write an entirely new code for…
user2127232
  • 31
  • 1
  • 2
1 2 3
15
16