Search:

Type: Posts; User: Sean4u

Search: Search took 0.26 seconds.

  1. Replies
    5
    Views
    1,388

    Re: Help with simple text game...

    Always use Exception.printStackTrace() in place of print("An error occurred!"). Java if statements look like
    if ("Ian".equals(name))
    System.out.println("Sifu");
    else
    ...
  2. Replies
    5
    Views
    1,388

    Re: Help with simple text game...

    You're going to need a way of writing lines on the console, which comes for free with System.out - it's an object of type java.io.PrintStream, so you can println(String) to write some text onto the...
Results 1 to 2 of 2