JessicaElkin

@JessicaElkin (0)
JessicaElkin
JessicaElkin shared a Post
3 months ago
1
im not even sure what's going wrong and that scares me
Ask
i altered the code to add a while loop, and while there's no errors with that it started an error 200 lines down, but when I remove the loop there is
SocialMediaGame
Java
Read full post
RECENT REPLIES
Bunnytoes
Bunnytoes 3 months ago
and this for typewriter public static void Typewriter (String slowtype, float speed) //enter it in like this Typewriter("the string",speed); { for (char c : slowtype.toCharArray()) { System.out.print(c); sleep((int)(speed * 1000)); } System.out.println(); } private static void sleep(long millies) { try { Thread.sleep(millies); } catch (InterruptedException e) { System.out.println("Thread
Bunnytoes
Bunnytoes 3 months ago
use this method for and replace Thread.sleep with sleep public static void sleep(long millies) { try { Thread.sleep(millies); } catch (InterruptedException e) { System.out.println("Thread is interrupted"); Thread.currentThread().interrupt(); } }
JessicaElkin
JessicaElkin shared a Post
4 months ago
1
Code not running with no error message
Ask
On lines 73 and 74 the user is supposed to be able to write, but the code doesn't wait for them and just moves on with no error message, how do I fix
SocialMediaGame
Java
Read full post
RECENT REPLIES
Bunnytoes
Bunnytoes 4 months ago
it works fine
JessicaElkin
JessicaElkin shared a Post
3 months ago
1
/shrug
Ask
@Bunnytoes i put it into another repl and this is what happens
aaaaaaaaaaaaaaaaaaaaaaaaaaaa
Java
Read full post
RECENT REPLIES
Bunnytoes
Bunnytoes 3 months ago
what's the problem? it works on intellij no problem
JessicaElkin
JessicaElkin shared a Post
4 months ago
1
how to get info from another folder
Ask
I'm trying to split up my coding into multiple files in java for different phases of my game, but also want to access info from them, in this case I'm
SocialMediaGame
Java
Read full post
RECENT REPLIES
Bunnytoes
Bunnytoes 4 months ago
use packages run = "find -name \"*.java\" > t; javac @t ; rm t; cd Main/src; java pack.Main" in .replit, this creates a package called pack fork this and change what you want :) https://replit.com/@Bunnytoes/testingPackages#.replit