Hello World!

Things that are not directly connected with Factorio.
Post Reply
User avatar
coltonj96
Burner Inserter
Burner Inserter
Posts: 16
Joined: Thu Jan 19, 2017 2:45 am
Contact:

Hello World!

Post by coltonj96 »

My name is Colton. I love modding Factorio, it's much fun! I don't really have a lot to write here so any questions will be answered in comments

doe
Burner Inserter
Burner Inserter
Posts: 19
Joined: Sun Jul 17, 2016 4:26 pm
Contact:

Re: Hello World!

Post by doe »

What you been smoking man?

User avatar
coltonj96
Burner Inserter
Burner Inserter
Posts: 16
Joined: Thu Jan 19, 2017 2:45 am
Contact:

Re: Hello World!

Post by coltonj96 »

doe wrote:What you been smoking man?
Mostly the pollution I produce in Factorio... Probably not a good idea though...

User avatar
hansinator
Fast Inserter
Fast Inserter
Posts: 160
Joined: Sat Sep 10, 2016 10:42 pm
Contact:

Re: Hello World!

Post by hansinator »

It is monday evening and we all have nothing better to do than hanging around in the Factorio forum I guess!

User avatar
MrNardKing
Burner Inserter
Burner Inserter
Posts: 12
Joined: Sun Mar 12, 2017 8:05 pm
Contact:

Re: Hello World!

Post by MrNardKing »

1: Don't use Minecraft avatars on a Factorio forum.
2: I don't have any questions.
Roses are red
Violets are blue
Pollution smells great

User avatar
GoldenPorkchop80
Fast Inserter
Fast Inserter
Posts: 117
Joined: Fri Nov 20, 2015 10:27 pm
Contact:

Re: Hello World!

Post by GoldenPorkchop80 »

Well, if you're a modder, then tell what i wrote this in:
(Hint: It's not Java ;) )

Code: Select all

import java.io.*;
import java.util.*;
import java.util.Scanner;

public class helloWorld {
  public static void main(String args[]) {
  	Scanner input = new Scanner(System.in);
    System.out.print("Do you think that factorio is a good game? Y/N?: ");
    String ans = input.next();
    if (ans.equals("y") || ans.equals("Y")) {
    	System.out.format("\u0048\u0065\u006C\u006C\u006F\u0020\u0057\u006F\u0072\u006C\u0064\u0020\u0026\u0020\u0046\u0061\u0063\u0074\u006F\u0072\u0069\u006F\u0021");
    } else if (ans.equals("n") || ans.equals("N")) {
    	System.out.println("You should see a doctor. Right now.");
    } else {
    	System.out.println("I_AM_ERROR: CANNOT_COMPUTE_INPUT");
    	System.out.println();
    	System.out.println();
    	System.out.println("Pssst! Use \"Y\" for yes and \"N\" for no! It's simple programmer speak!");
    }
  }
}
    
Oh and if you're wondering if this really does work, try running it in a compiler that supports the Scanner Class.
Contact me:
telnet.Telehack.com (My username is gpc80)
Steam
Twitch.tv
Reddit
Email:redrouster2000@gmail.com (Mods, Admins, and Game Devs ONLY! Anyone else will be blocked on my email, and on this forum)
Hamachi VPN: Please send me a PM for network info.
Forums: Send me a PM

MINIMAN10000
Burner Inserter
Burner Inserter
Posts: 16
Joined: Tue Mar 21, 2017 7:02 pm
Contact:

Re: Hello World!

Post by MINIMAN10000 »

Hello I'm miniman and I'm not fond of not allowing my first post to contain URLs ):

User avatar
Dustine
Long Handed Inserter
Long Handed Inserter
Posts: 60
Joined: Tue Mar 31, 2015 4:52 pm
Contact:

Re: Hello World!

Post by Dustine »

Same, same, but how else do we prove to be human?

Post Reply

Return to “Off topic”