#Console typing game
1 messages · Page 1 of 1 (latest)
While you are waiting for getting help, here are some tips to improve your experience:
If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.
Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.
thats actually really smart
Sorry took a shower
yeah so what you want to happen you can't exactly do with System.out, at least not easily?
Good question
i honestly don't know
try printing the backspace character?
see if that lets you clear out some stuff?
🤷♂️
because what you want is to print
abcde
but when they type f to replace it with
<RED START>abcdef<RED END>
the countdown timer is an added complication, but im ignoring that for now
it is?
hmm
okay so first
when do you need this done?
ugh
well okay
how advanced are you willing to get?
I uploaded your attachments as Gist.
yeah sorry im working on something im not running your code rn
hmm
so okay a bit of advice on the threading stuff
all your logic should be single threaded
all of it
that doesn't mean you can't have threads
but the purpose of the threads should be different
its a bit hard to explain
this is not a guide to do what you want to do
but in example 5 i show one possible technique
that is, have the threads job be to put messages on a queue
so in your case the messages are conceptually
"they typed another letter"
and
"time is up"
etc
well, err
I don't know?
shit is hard
i think you might be trying to make it better than your teacher expects with the word highlighting
but it would be cool if you could pull it off
well
it doesn't have to?
it really is hard to explain
and i am distracted rn - ping me tommorow AM
and/or have someone else help tonight
this entire server is full of people good at java
don't ping them or DM them like you did me
which i need to point out - super rude
when i said AM i didnt mean 1am
Closed the thread due to inactivity.
If your question was not resolved yet, feel free to just post a message to reopen it, or create a new thread. But try to improve the quality of your question to make it easier to help you 👍