Skip to content
Open navbar menu
Sign UpLog In
Profile icon

Nicholas White

@NicholasWhite6
NicholasWhite6
NicholasWhite6
shared a Post
3 years ago
Maze game i made
Small simple maze i made (credits to @YuAndy Who posted a tutorial on how to make a maze game so this wouldn't be made if it weren't for him) I am new
MAZE GAME ATTEMPT
Python
E-Sheep
E-Sheep
Maybe try making smaller levels. The whole thing glitches when the levels are too big.3 years ago
NicholasWhite6
NicholasWhite6
shared a Post
3 years ago
Hi im new to Coding with java well just coding in general but how would i do an "if then" kind of thing, i was tryg to have user in put lab and i want
UserinputLab1
Java
Coder100
Coder100
Like this: if (something) { } else if (somethinh) { } else { } In your case: import java.util.Scanner; class App { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { System.out.print("Enter something: "); String x = sc.nextLine(); if (x == "hi") { System.out.println("You said hi!"); } else if (x == "hello") { System.out.println("You said hello!"); } else { System.out.println("You said something3 years ago
leo-ironkey
leo-ironkey
here's the docs : ) https://docs.oracle.com/javase/tutorial/java/nutsandbolts/if.html 3 years ago
NicholasWhite6
NicholasWhite6
if anyone could help with this that would be great! 3 years ago