Random Thoughts.....What Are You Thinking?

Eorzea Time
 
 
 
Langues: JP EN FR DE
users online
Forum » Everything Else » Undead » Random Thoughts.....What are you thinking?
Random Thoughts.....What are you thinking?
First Page 2 3 ... 5445 5446 5447 ... 22718 22719 22720
 Asura.Lolserj
Offline
Serveur: Asura
Game: FFXI
user: Andras
Posts: 2956
By Asura.Lolserj 2012-04-22 13:22:00
Link | Citer | R
 
Alexander.Drokin said: »
Asura.Lolserj said: »

is this a dice game or something?

Blackjack.

ah i only briefly looked at it and saw computer wins and saw rand lol

(cause i had to do a dice program for my class :X)
 Cerberus.Eugene
Offline
Serveur: Cerberus
Game: FFXI
user: Eugene
Posts: 6999
By Cerberus.Eugene 2012-04-22 13:25:31
Link | Citer | R
 
There's no way to win this game!
 Bahamut.Feisei
Offline
Serveur: Bahamut
Game: FFXI
user: feifei
Posts: 956
By Bahamut.Feisei 2012-04-22 13:29:41
Link | Citer | R
 
Mhmmm waking up when i damn well please so nice. Eggs and toast for bfast and then off to enjoy the sun! Damn good sunday!
[+]
 Asura.Vyre
Forum Moderator
Offline
Serveur: Asura
Game: FFXI
user: Vyrerus
Posts: 15614
By Asura.Vyre 2012-04-22 13:41:27
Link | Citer | R
 
Bahamut.Feisei said: »
Mhmmm waking up when i damn well please so nice. Eggs and toast for bfast and then off to enjoy the sun! Damn good sunday!
I'm Jelly.
 Phoenix.Bomber
Offline
Serveur: Phoenix
Game: FFXI
user: Bomber
Posts: 457
By Phoenix.Bomber 2012-04-22 15:16:56
Link | Citer | R
 
Zombie apocalypse VS. Terminator machines. Who would win?! >:O
Offline
Posts: 32551
By Artemicion 2012-04-22 15:19:23
Link | Citer | R
 
Phoenix.Bomber said: »
Zombie apocalypse VS. Terminator machines. Who would win?! >:O

I'd say Terminators.
Zombies got no flesh, brains or organs to eat :(
 Valefor.Slipispsycho
Offline
Serveur: Valefor
Game: FFXI
Posts: 14155
By Valefor.Slipispsycho 2012-04-22 15:24:10
Link | Citer | R
 
If you mean zombie vs terminator, terminator of course..

I mean I'm assuming we're talking the stereotypical slow and dumb zombies.. With no pesky humans to attack/destroy terminators, they basically have no enemy and nothing to really actively kill them off... Zombies aren't going to take out a terminator..
 Leviathan.Catnipthief
Offline
Serveur: Leviathan
Game: FFXI
user: Fyyvoaa
Posts: 18930
By Leviathan.Catnipthief 2012-04-22 16:03:38
Link | Citer | R
 
awwww :> gf got me an early bday gift (my bday is on may 29th lol)


[+]
Offline
Posts: 7851
By Irohuro 2012-04-22 16:07:17
Link | Citer | R
 
Asura.Lolserj said: »
Iro Huro said: »
i also use cpu monitor, weather, and gpu monitor widgets >__>

edit: new page, so i'm gonna throw down some code =D
Code
#include <iostream>
#include <ctime>

using namespace std;

//function prototypes
void printLines();   //prints the seperation lines.
void showTitle();    // Title header.
void callMenu(int &selection);  //shows the main menu.
int getRandomNum();       //for the player. generates a random number 1-11.
int getCompRandomNum();   //for the computer. generates a random number between 10-21.

int main()
{
	//variables
	int menuSelect = 0;
	int hitSelect = 0;
	int playerRandNum = 0;
	int compTotal = 0;
	int playerTotal = 0;

	//game info
	printLines();   //this section shows the title header
	showTitle();
	printLines();

	//main menu and game process
	
	while(menuSelect != 2)   //this while statment controls the entire game repeat.
	{                        //the game will always go back to the main menu when finished 
		callMenu(menuSelect);  //so that the player can choose to play a new game or exit.
		printLines();

		if(menuSelect == 1) //this if statement lets the program skip the game if the player chooses to exit.
		{
			
			
			while(hitSelect != 2)
			{
				while(hitSelect != 2) //this while statement lets the player go as many times as they wish to get
				{                     //as close to 21 as they can.
					cout << "Would you like to (1) Hit or (2) Stay? ";
					cin >> hitSelect;

					if(hitSelect == 1) //this if statement means that if the player chooses to stay, then the game 
					{                  // wont process the random number generation an extra time.
						playerRandNum = getRandomNum();
						playerTotal += playerRandNum;		

						cout << "Player Total: " << playerTotal << endl;
					}// endif

				}//endwhile

				compTotal = getCompRandomNum();         //this generates the the number for the computer's hand.

				cout << "Computer Total: " << compTotal << endl;

 
			}//endwhile
		 
			if(playerTotal == compTotal) //this if statement indicates that if there is a tie,
			{                                        //then the computer should display that it is a tie.
				cout << "It's a tie!" << endl;
			}//endif
			if(playerTotal == 21 || playerTotal > compTotal && playerTotal < 22 && playerTotal != compTotal)
			{                                                                  //this if statement is for displaying the winning 
				cout << "Congratulations, you win!" << endl;                   //text if the player gets 21 or a number higher than the computer.
			}//endif
			if(playerTotal < compTotal || playerTotal > 21)   //this if statment indicates that none of the other conditions were met, which means the player has lost.
			{
				cout << "You lost!" << endl;
			}//endif
		

			//clear variables
			hitSelect = 0;             //this section clears
			playerTotal = 0;           //out the variables so
			compTotal = 0;             //that the numbers from
 			playerRandNum = 0;         //the previous game won't interfere.
			printLines();              //prints a dividing line between the last game and the main menu.
		}//endif

	}//endwhile
				


	return 0;
}//end of main function

//*****function definitions - void functions*****
void printLines()
{
	cout << "--------------------" << endl;
} //end of printLines

void showTitle()
{
	cout << "***SIMPLE BLACKJACK***" << endl;
	cout << "written by Cody Warren" << endl;
} //end showTitle


void callMenu(int &selection)
{
	cout << "*****MAIN MENU*****" << endl;
	cout << "1. Play" << endl;
	cout << "2. Exit" << endl;

	printLines();

	cout << "What would you like to do? ";
	cin >> selection;
} //end callMenu

//*****function definitions - value returning functions*****
int getRandomNum()
{
	int num = 0;

	srand(static_cast<int>(time(0)));
	num = 1 + rand() % (11 - 1 + 1);

	return num;
} //end getRandomNum

int getCompRandomNum()
{
	int compNum = 0;

	srand(static_cast<int>(time(0)));
	compNum = 10 + rand() % (21 - 10 + 1);

	return compNum;
} //end getCompRandomNum

is this a dice game or something?


blackjack.

edit: looks like someone answered at the top of the page >___>

and GDI i fell asleep >=|
Offline
Posts: 7851
By Irohuro 2012-04-22 16:10:55
Link | Citer | R
 
Leviathan.Catnipthief said: »
awwww :> gf got me an early bday gift (my bday is on may 29th lol)



/hi5 4 days after mine
[+]
 Leviathan.Catnipthief
Offline
Serveur: Leviathan
Game: FFXI
user: Fyyvoaa
Posts: 18930
By Leviathan.Catnipthief 2012-04-22 17:02:33
Link | Citer | R
 


wat.

this is TOR not WoW bioware :| NO FISH MOUNTS :O
 Phoenix.Bomber
Offline
Serveur: Phoenix
Game: FFXI
user: Bomber
Posts: 457
By Phoenix.Bomber 2012-04-22 17:08:24
Link | Citer | R
 
Leviathan.Catnipthief said: »


wat.

this is TOR not WoW bioware :| NO FISH MOUNTS :O
Whats TOR? >.>
 Leviathan.Catnipthief
Offline
Serveur: Leviathan
Game: FFXI
user: Fyyvoaa
Posts: 18930
By Leviathan.Catnipthief 2012-04-22 17:09:22
Link | Citer | R
 
Phoenix.Bomber said: »
Leviathan.Catnipthief said: »


wat.

this is TOR not WoW bioware :| NO FISH MOUNTS :O
Whats TOR? >.>


Star wars: The Old Republic.
Offline
Posts: 7851
By Irohuro 2012-04-22 17:13:17
Link | Citer | R
 
lol, you're so far behind XD

i made it to about 40 before i quit, *** balmorra republic side is like three times as bad as taris
Offline
Posts: 7851
By Irohuro 2012-04-22 17:40:13
Link | Citer | R
 
My god, planning out the details of leveling a class is a lot harder than just doing it >__________>

i have to do a report detailing the system development process of anything of my choice, and im choosing leveling in xiv.

i was originally planning to detail a crafting class, but since i have 5 1/2 hours to do this and having my highest craft being 18. lolnope.

so i'm detailing the leveling of mrd. in 4 steps, which each have about 3 substeps.


and this has to be a 1-2 page report.
 Leviathan.Catnipthief
Offline
Serveur: Leviathan
Game: FFXI
user: Fyyvoaa
Posts: 18930
By Leviathan.Catnipthief 2012-04-22 17:42:58
Link | Citer | R
 
Iro Huro said: »
lol, you're so far behind XD

i made it to about 40 before i quit, *** balmorra republic side is like three times as bad as taris


I took a break cause my health was being derpy but now since i'm feeling better I'm back.
Offline
Posts: 32551
By Artemicion 2012-04-22 17:42:59
Link | Citer | R
 
Ugh, time to get ready for work.
See you all in a few hours I guess..

 Leviathan.Draugo
Offline
Serveur: Leviathan
Game: FFXI
Posts: 2775
By Leviathan.Draugo 2012-04-22 17:54:52
Link | Citer | R
 
Leviathan.Catnipthief said: »
Leviathan.Draugo said: »
http://vimeo.com/40535931
Password is messiah. I am the wise bearded one. Don't fall in love with me and stuff. ;p


I like it :)
TY Nip. Come back to us brother!
 Leviathan.Catnipthief
Offline
Serveur: Leviathan
Game: FFXI
user: Fyyvoaa
Posts: 18930
By Leviathan.Catnipthief 2012-04-22 18:10:29
Link | Citer | R
 
Leviathan.Draugo said: »
Leviathan.Catnipthief said: »
Leviathan.Draugo said: »
http://vimeo.com/40535931
Password is messiah. I am the wise bearded one. Don't fall in love with me and stuff. ;p


I like it :)
TY Nip. Come back to us brother!


Might see me soon... for a month ... maybeeeeee :3q
 Leviathan.Draugo
Offline
Serveur: Leviathan
Game: FFXI
Posts: 2775
By Leviathan.Draugo 2012-04-22 18:11:24
Link | Citer | R
 
cool!

I just realized in that video, the buttons on my shirt reflect into a cross when I come out of the gas station. lol
 Ramuh.Laffter
Offline
Serveur: Ramuh
Game: FFXI
user: Rocketpop
Posts: 11972
By Ramuh.Laffter 2012-04-22 18:26:04
Link | Citer | R
 
My computer really does not like trying to stream Vimeo videos. XD
 Leviathan.Draugo
Offline
Serveur: Leviathan
Game: FFXI
Posts: 2775
By Leviathan.Draugo 2012-04-22 18:29:54
Link | Citer | R
 
Try a different browser?
 Carbuncle.Joeywheeler
Offline
Serveur: Carbuncle
Game: FFXI
user: Novax
Posts: 1074
By Carbuncle.Joeywheeler 2012-04-22 18:36:02
Link | Citer | R
 
What's up, randomers? :)
 Leviathan.Draugo
Offline
Serveur: Leviathan
Game: FFXI
Posts: 2775
By Leviathan.Draugo 2012-04-22 18:38:03
Link | Citer | R
 
just be'in famous is all haha!
 Kujata.Daus
Offline
Serveur: Kujata
Game: FFXI
user: Daus
Posts: 3451
By Kujata.Daus 2012-04-22 18:41:20
Link | Citer | R
 

omg I am so hormonal...this commercial just came on and made me tear up and I've been listening to the lion king soundtrack on repeat...T_T

and bubble witch saga on fb can diaf
 Ramuh.Laffter
Offline
Serveur: Ramuh
Game: FFXI
user: Rocketpop
Posts: 11972
By Ramuh.Laffter 2012-04-22 18:43:41
Link | Citer | R
 
Never mind, I had to restart after leaving the PC on all night. :S
 Leviathan.Draugo
Offline
Serveur: Leviathan
Game: FFXI
Posts: 2775
By Leviathan.Draugo 2012-04-22 18:43:55
Link | Citer | R
 
Can one of you guys imbed my video to youtube? My connection is slow
 
Offline
Posts:
By 2012-04-22 18:46:30
 Undelete | Edit  | Link | Citer | R
 
Post deleted by User.
 Ramuh.Laffter
Offline
Serveur: Ramuh
Game: FFXI
user: Rocketpop
Posts: 11972
By Ramuh.Laffter 2012-04-22 18:50:21
Link | Citer | R
 
Oh, it lets you download it. I can upload to youtube for you, but can't vouch for my upload speed.
 Ramuh.Laffter
Offline
Serveur: Ramuh
Game: FFXI
user: Rocketpop
Posts: 11972
By Ramuh.Laffter 2012-04-22 18:55:38
Link | Citer | R
 
Just btw, if you take off password protection on the video, you can display it here using vimeo tags instead of youtube tags.
First Page 2 3 ... 5445 5446 5447 ... 22718 22719 22720