Questions tagged [text-based]
233 questions
1
vote
2 answers
Java score points automatically increasing
I'm doing a school project. I am building a text based game on Java for PC.
The game I'm building is quite simple, you buy homes and you rent them out. So what I am asking is, how can i get the money to automatically increase per second ($1 per…

Mazzoseven
- 31
- 3
1
vote
3 answers
Want to print text char by char for my textbased game, but it prints out the whole text after the summed delay
Im trying to print out some text char by char with some delay, the problem is that it waits and waits and then prints the whole sentence out. It's like it's printing char by char to a string and then printing that string out once its…

Daniel Winkel-Pedersen
- 135
- 7
1
vote
0 answers
Linux Terminal Simulator
I am planning on making a command shell game, and I want to know what the best way to provide a shell environment is for this.
I would like to be able to provide most of the standard utilities most terminal-users would expect from a terminal, such…

AJMansfield
- 4,039
- 3
- 29
- 50
1
vote
0 answers
Variables Don't Change When +1ed (Python 3.3)
In my previous post I stated that my variable would not change whenever I added something to it. Here is my current code and my problem will be below it.
#creates random monsters with xp points, leveling up player, and adding…

Antonio Anselmo
- 9
- 3
1
vote
2 answers
Text chat only in TokBox?
I found Tokbox is a great service for video chat. Is it possible to use text chat alone in tokbox? or text chat with video in Takbox?
Thanks

user3664704
- 11
- 2
1
vote
3 answers
regarding python objects and their methods
I am currently trying to code a text-based adventure in pure python. Therefore I have a Room class which looks kinda like this (shortened):
class Room1(Room):
def __init__(self):
Room.__init__(self)
self.init_objects()
…

Don Polettone
- 185
- 1
- 14
1
vote
3 answers
Recursive function with same arguments
I'm creating a text-based game in python and have hit a road block. I have a function that checks if user input contains certain words, and if it does it returns the user-input, otherwise it will re-ask for the input. If you write something that…

Conyare
- 105
- 10
1
vote
1 answer
Can the properties of the grid's cells in blessed-contrib be changed?
I am experimenting with blessed in Node and naturally I found blessed-contrib, now, I want to create a layout with rows of different heights but even though I can control the height/width of the elements inside the grid cells, I don't seem to be…

Hugo
- 6,244
- 8
- 37
- 43
1
vote
1 answer
How do you make live tiles for Windows Phone 8.1 Apps?
How do you make live tiles for Windows Phone 8.1 Apps?
It is the best kept secret on the internet!
I am trying to make a tile, which whenever the app is suspended, it updates the live tile with some text.
I have read/watched roughly a dozen…

Evorlor
- 7,263
- 17
- 70
- 141
1
vote
1 answer
How would I create a text-based board for a scrabble game in python?
I am currently making a text-based scrabble game using python, and I was wondering how to make a board for such a game. Do I have to individually draw out each tile, or is there a better way?
Thanks
user3367523
1
vote
1 answer
How do I create an account to store information?
I am currently creating a text-based game with ingame money, and I want a way for users to store their information so that they can log on later. Is this possible without connecting to the Internet?
user3184436
1
vote
1 answer
Creating a text-based game GUI (c#)
First off -sorry if text based is the wrong name, the closest example of what I mean is the football manager series (though obviously that's infinity more complicated than what I have planned!). Basically a turn based game where you each time period…

user2056166
- 357
- 1
- 14
1
vote
1 answer
Random skill not functioning as expected in Python text rpg
I'm having some trouble handling basic skill increases. Right now the code looks like
huntluck = 11
huntskill = 1
def hunt(self):
global result, huntluck, huntskill
hunting = random.randint(0, huntluck)
if hunting == 0:
result…

Ghosty
- 763
- 1
- 5
- 10
1
vote
2 answers
Issue with matching user-choices in Text-adventure.
im currently working on a simple text adventure in python. basically i want the randint to choose 1 or 2 then assign to right_wire, then raw_input to be wire_choice, then the 2 are matched to deliver the desired outcome. Im sure you guys can figure…

samsam
- 25
- 3
1
vote
1 answer
Converting bytes retrieved over a php socket to a integer
I am using the netty API to create a Java server which sends if a client programm sends anything to the server a number like 5. It is a integer with 4 bytes. I think it should be the same like writing an integer into an OutputStream. So I want to…

maxammann
- 1,018
- 3
- 11
- 17