Chat simulation
Hello, I am working on a Java project and need some help. I want to code a Chat conversation where two people talk to eachother, I want person A to represent the person "playing" the code and Person B to be like a robot answering. I want the Player to have to input any text which then turns into the pre programmed text in the chat box and Person B's text to just appear. So far I have created the chat and made it so that when you type gibberish and press enter the correct text gets displayed, but right now you have to type and enter to make the text of both people appear aswell as the end of conversation text how would I fix this?
4 Replies
⌛
This post has been reserved for your question.
Hey @_tureino! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
What are you using as a text box?
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.
That sounds very interesting!
Could u like discussing with me to achieve your goal?