Be not afraid...

Published May 23, 2010
Advertisement
Yeah, this is still my journal. Do not be frightened by the mysterious block of code below... turns out it's my first computer game. EV4R!!11`

import java.util.Scanner;import java.util.Random;public class NumberGuess {	public static void main(String[] args) {		int n; //n is the user input		boolean result = true; //aw yeah, booleans FTW		Scanner guess = new Scanner (System.in); //input scanner named guess		Random thing = new Random(); //make random number thing		int rnumero = thing.nextInt(10) + 1; //generate random number between 1-10, add 1 b/c counter starts at 0				System.out.println(rnumero); // print answer for debug		System.out.println("type a numero between uno and ten-SHUTTHEFUCKUP"); //instructions		while (result == true) //set run condition		{		n =guess.nextInt();		     if (n < rnumero){  //too low...	    	 System.out.println("2 low n00b"); 		     }		     if (n > rnumero){ //too high...	    	 System.out.println ("fuckin' high, fag");		     }		     if (n == rnumero){//win		     System.out.println ("you hax!!!!2!");		   result = false; // trip run condition  		     }		}	}}


I call it "Number Guesser/Xbox Live Simulator." It accurately depicts what a guess the number game would be like if it were played with the average person on Xbox Live.

Hopefully I'll get farther this week, but we'll see. I'm thinking about getting the Beginning/Advanced Gamedev Programming books... plus hopefully borrowing a bunch from Sir Sapo when I can.

Funny Thing Happened on the Way...
So I was driving back home from my girlfriend's, which is a shitty 75 miles away, minding my own goddamn business when I notice a shadow in the left lane out of the corner of my eye. This was odd, considering the closest car was miles behind me. The shadow flickered, and it took me a double take to figure out what it was. A helicopt- holy shit!

Turns out there was a CH-47 Chinook following the highway at about 200-300 feet (60-90 meters) going about 3 times faster than my 70mph (113kph) car... I never even heard it coming. There were even guys hanging out the rear ramp.

Fortunately, they did a U-turn up the way, so I stopped at the side of the road and vaulted over my passenger seat, grabbing my camera as I fly. So, I got somewhat fuzzy piktars. Keep in mind I couldn't really see my screen in the sun...


Here he comes...


I waved.


There were guys, I swear...


Pretty low... also, note how depressing the terrain is.


Other news
Not too much to report on the game front, but I have been working on the new loading screen, which will be pretty epic when complete. I'm also cranking away on sprite designs- next up is a SAM site, I think.

Aight, you guys have a good night!
0 likes 1 comments

Comments

Aardvajk
I reckon there was a whole fleet of helicopters, but one had a failure on its cloaking device.
May 24, 2010 01:04 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement