No no....don't get envious of me or even jealous.
While it's widely known that I'm the cutest guy ever, there's no real need to debate about it.
Anyway, let's finish up our chicken chops and finish enjoying the gurls and read below.
I've created a hangman game for my accursed school project.
A very basic hangman game with complete images and source code provided.
Go to :
http://xeonhangman.20m.com/main.html
If the address above doesn't work, copy and paste the address above into your web browser's address bar.
I developed this basic program using the fantastic CButtonST from the mighty Davide Calabro, and the skins part is from Joerg, I think.(a skinning article in Codeguru)
My development machine is Windows 98 with a pathetic 300 MHz processor and 32 MB of RAM.(maybe I gotta start a thread called "Slowest and most pathetic machines"
Now : it would be darn cool if you can play around with the game and see if there's any bugs whatsoever.
U see, I don't wanna embarrase myself in front of everyone while demostrating the program. I've already tested it, but more testing couldn't hurt. Besides, real men have real hard skins, that's why. Gurls tend to like men with hard skin, and that's the point.
And no no.......there's no need to use torture/bondage tools whatsoever in this case to test, stress-test, torture-test, ****-test or perverse-test the program, cos' I don't wanna waste too much time on such a sucky thing. :cool:
So, thank you and see you! :)
Xeon.
Krishnaa
November 21st, 2002, 01:09 AM
how to play this one ???
Gabriel Fleseriu
November 21st, 2002, 02:08 AM
Moved from VC++ to General Discussion.
Xeon
November 21st, 2002, 06:08 AM
Hi there Krishnaa! Haven't you played Hangman before?
It's basically a classic game of the past! :)
Well, when the program starts up, there's a row of alphabets at the bottom.(A to Z)
In the middle of the program, there's a "mysterious" word to fill in. U're suppose to guess which alphabets the word has in it.
So, for example, u get :
_ _ _ _ _ _ _
And then, u might say, "Hmmm.....maybe this mysterious word has the alphabet 'E' in it".
Thus, u click 'E' on the row of buttons at the bottom of the program.
If the alphabet 'E' is in this mysterious word, 'E' will be printed among the lines. If 'E' doesn't exist, a line will be drawn on the right of the program.
If you keep getting wrong, a "human" will be getting close and closer to death by hanging.
Just run the program and click any buttons on the bottom of the program.
If you keep getting wrong, you'll see a figure of a hanged man on the right.
If you can managed to complete the entire mysterious word without getting the man hanged, you win the current round. :):D
Basically, it's something like America's Wheel of Fortune TV show : u fill in the blanks and try to win without getting the man hanged to death.(in this case)
thinman
November 21st, 2002, 06:24 AM
Hi
What i see when i build & run ur prog, is saved in attached JPEG file.
thinman
p.s.: i'm running a W2K SP3
Simon666
November 21st, 2002, 06:26 AM
You forgot an exit button!!!
It took me a while to find out you can only exit by loosing the game. I had to do CTRL + ALT + DEL a couple times.
CBasicNet
November 21st, 2002, 06:30 AM
Originally posted by Simon666
You forgot an exit button!!!
It took me a while to find out you can only exit by loosing the game. I had to do CTRL + ALT + DEL a couple times.
That's despicable!
Simon666
November 21st, 2002, 06:32 AM
Originally posted by CBasicNet
That's despicable! Forgetting an exit button or the huge Xeon-like font? :confused: Or both? :D By the way, check out the PM I send you.
Krishnaa
November 21st, 2002, 07:13 AM
Ohhh It is so...I never played games which has rendomness..
Yves M
November 21st, 2002, 11:57 AM
I always win :) well it's always printer, color or ink :p
s. roelants
November 21st, 2002, 12:34 PM
hmmm, looks very nice
a couple of weird things though:
* the solution shows up in the taskbar !!! (i don't know if this is a bug or a feature)
* other hangman games i've seen start with rope, head, body, arm, arm, leg, leg that way everything is always connected, and doesn't seem floating around in thin air
some additional tips for distribution or testing by your proffessors :
* make it statically linked, this way it will always work on any computer (don't know if this is still an issue nowadays)
* create a nice icon
and as requested maybe some functionality to close it would be nice :D
Anyway nice work :D
Xeon
November 21st, 2002, 09:36 PM
Thanks a lot for your feedback, guys! :)
From Hangman's brother : Thinman
Hi
What i see when i build & run ur prog, is saved in attached JPEG file.
thinman
p.s.: i'm running a W2K SP3
Yes, yes. That's because your system has been infected by a virus called XeonXP. Basically, this virus makes your life total ****.
Ha ha ha! :D No no.....actually, this bug occurs because your OS fonts has been set to Large fonts. The skinning code I got from Codeguru didn't deal with this possibility, that's why. I'm gonna get the new version from the author, though.
The others(like Simon666 and Yves M) didn't get this problem cos' their system's font is set to Small fonts.
From Simon666:
It took me a while to find out you can only exit by loosing the game. I had to do CTRL + ALT + DEL a couple times.
This only happens on your system, Simon. There's a hidden piece of code somewhere that goes :
if(GetLocalMachineUser() == "Simon666")
{
//make it tough and irritating for user to close program
m_bAllowEasyClosingOfProgram = FALSE;
}
But seriously, it's because I haven't implemented this button yet.
Later, pal. :)
From CBasicNet:
That's despicable!
Darn! Solar pal! Go forth and extort US$600,000 from this guy! Then, u get 45% and I'll get 55% of it! :cool::D
From Krishnaa:
Ohhh It is so...I never played games which has rendomness..
Now you've! :)
From Yves M, the most friendly and superb moderator I've ever seen:
I always win well it's always printer, color or ink
Now there, Yves M! That's for simplicity. When no obvious bugs ave been found, I'll add more words to the list. :)
From Sergeant Roelants:
hmmm, looks very nice
Thanks pal!
a couple of weird things though:
* the solution shows up in the taskbar !!! (i don't know if this is a bug or a feature)
This is basically for testing/debugging purposes. If you look at the code provided, a call is made to "SetWindowText(m_strCurrentWord)". That's why! :D
* other hangman games i've seen start with rope, head, body, arm, arm, leg, leg that way everything is always connected, and doesn't seem floating around in thin air
Hmmm......nice suggestion. Actually, the seqeunce in which the hanged man appear in my program is copied from a web-based hangman game for kids. But it's darn easy to achieve what you said!
some additional tips for distribution or testing by your proffessors :
* make it statically linked, this way it will always work on any computer (don't know if this is still an issue nowadays)
* create a nice icon
and as requested maybe some functionality to close it would be nice
Yes and why, thank you S. Roelants! Definetly, a nice icon is a must to make everything complete.
Anyway nice work
Thank you, S. Roelants! Stop boosting my ego! I'm gonna die of ego-hamohagic fever if u keep praising me.
Ego-hamohagic fever is a serious kinda fever whereby someone praises you and you feel shy. Then , your feel darn happy and think about it all day(every second) on how great, darn wonderful and noble you're!
Then, u fall sick cos' u don't have the appetite to eat or sleep, or enjoy gurls. Then, your health starts to fall, and you start getting orange spots with liquid in it on your body. Your kidney area starts to swell and there's blood in your execretion. The middle of your head starts to lose hair and you suffer from red eyes and severe cold. Before you die horribly, your chest starts getting shaky as if it can be ripped apart by 1 single soft touch.
It has been proven that if you wanna cure yourself of this horrible sickness, suck up to others.
So, if I get this sickness, I must find someone to suck up to.(and Simon666 will be the last!) :D
Simon666
November 22nd, 2002, 03:25 AM
Originally posted by Xeon
So, if I get this sickness, I must find someone to suck up to.(and Simon666 will be the last!) :D Thank you. :rolleyes: Anyway, a nice suggestion would be the possiblility to highlight the buttons for the letters if your mouse moves over them, as well as the possibility to move around them using accelerator keys : up, down, left right. Now it is sometimes not easy to quickly find out which letter your mouse is hovering over and those keys would allow you to play it faster.
CBasicNet
November 22nd, 2002, 04:35 AM
Originally posted by Simon666
Forgetting an exit button or the huge Xeon-like font? :confused: Or both? :D
Now that you have mentioned it. I have to include it as well.
Both!!!:D
Yves M
November 22nd, 2002, 05:22 AM
I think you should also implement some kind of "memory" in the program, so that it remembers not to give you twice in a row the same word. I guess that would be less frequent when you have more words but still might be worth a thought.
the solution shows up in the taskbar
Arg I hadn't even noticed that :p
Would it defeat the point of the game if you greyed out in some letters that you have already chosen before ?
Xeon
November 22nd, 2002, 08:21 PM
Thanks for your input(just to be nerdy), Yves M, Simon666 and CBasicNet! Although these points are darn cool, I don't have the time to do them. Besides, it would be more meaningful visiting erotic sites and design avatars and such. :cool::cool::cool::cool::cool:
Yves M
November 22nd, 2002, 09:01 PM
Oh and when you have implemented all the easy stuff, could you make your program make italian expresso ? Short, black with one spoon of suger would be great, thanks :)
Xeon
November 23rd, 2002, 12:33 AM
From Yves M:
Oh and when you have implemented all the easy stuff, could you make your program make italian expresso ? Short, black with one spoon of suger would be great, thanks
What Italian Expresso, Yves pal?! Is it some kinda Italian-style C++ expressions and code etc.?
And no......I only do chicken chop and nothing else. :):):D:);):D
Amn
November 23rd, 2002, 01:01 PM
I like my sugar wid Kofi and Cream :eek:
Hey whatsup guys, i see the regular gang testing Xeons masterpiece ?
* Grabs the project to compile *
I ll get back to you Xeon as soon as i am fed up with guessing color, ink and printer
Came back:
Wow thats so **** addictive ! You are the man. Can you make a file to read the words from ? I ll gladly add a couple of thousand of them !
Better yet share the file on FTP and we all will update it ;)
And ...and..and make the app show the satellite images of Area 51 please ? You know you connect via WAN to the NORAD satellite, break the lousy key those failures of American military have for that excuse for encryption, and just show the JPEG in a window. thanks ;)
Xeon
November 23rd, 2002, 08:39 PM
From Amn:
Hey whatsup guys, i see the regular gang testing Xeons masterpiece ?
Hi there Amn! Yes, yes, these folks are trying out the project. :)
Wow thats so **** addictive ! You are the man. Can you make a file to read the words from ? I ll gladly add a couple of thousand of them !
Better yet share the file on FTP and we all will update it
Don't be silly, Amn! :D:)
I did this project cos' I have to, not cos' I wanna. As I've said before, I would rather spend my time doing something more constructive than to create this kinda darn game which makes me sleep. ;)
And ...and..and make the app show the satellite images of Area 51 please ? You know you connect via WAN to the NORAD satellite, break the lousy key those failures of American military have for that excuse for encryption, and just show the JPEG in a window. thanks
Now, Amn! I would be grateful if I know how to create an owner-draw list box, not to mention these kinda XTreme rocket science technologies! :D:D
Hmmm......now, Amn, if you gimme all the bank account number and password of Bill Gates account number and such, I will glady set up a research team to research everything for you. :):D
Amn
November 24th, 2002, 08:00 AM
Sorry to hear you HAD to do this thing Xeon. I mean i liked it a lot. It was long ago i played hangman on PC. Yours brings tears of happiness and nostalgy to my eyes * crying falsely *
Also i think we need a new smiley here, just for you Xeon, considering your unusual creativiness when using them. I even made a prototype (or a whole trio of them):
http://www.armeniasenter.no/Amn/smileys.gif
The last one kind looks like me dont it ?
Xeon
November 24th, 2002, 09:49 PM
From Amn:
Sorry to hear you HAD to do this thing Xeon. I mean i liked it a lot. It was long ago i played hangman on PC. Yours brings tears of happiness and nostalgy to my eyes * crying falsely *
From Xeon the Award Presenter/Host :
And now, Ladies and Gentlemen! The Norwegian Oscars 2002 Best Male Actor Award goes to........Amn!!!!!!!
Ha ha ha!(berseker-style applause and shouts and cheers and such!)
There, there Amn! I guess u deserve this award! After all, u really were awesomely wonderful in that movie entitled "Case Study : Open-source Hangman game by Xeon the cute boy", whereby you play a programmer crying falsely! Cool! :D:cool:
And now, back to Codeguru. :)
Those new smileys were darn cool! I bet you use "picture inheritance" and "image subclassing" to get them, right?! The last one looks darn cool!
U gotta create a smiley with long hair to resemble you, I guess. :):D:cool:
Simon666
November 27th, 2002, 07:56 AM
Xeon : are you still continuing on this? You have only added two extra words : nozzle and inkjet. No changes whatsoever appear to have been made. Then why ask here for advice?
"NOZZLE"
"PRINTER"
"PAPER"
"INK"
"INKJET"
"COLOR"
Xeon
November 28th, 2002, 12:21 AM
From SimonSixSix-6:
Xeon : are you still continuing on this? You have only added two extra words : nozzle and inkjet. No changes whatsoever appear to have been made. Then why ask here for advice?
Nay Simon555! Errr......666, I mean. What u gotta do now is to eat more chicken chop and play with gurls. My original intent was to get folks here to test-play it! That's why!
I understand : sometimes, when we spend 17 hours coding non-stop(even PCs need a rest), u tend to go ga-ga and can't tell the different between black and white, or even, the size difference between an Brachiosaurus and a proton.
I understand, my son. Yes, u need a rest after all these hard work. :cool::cool::cool::cool::cool:
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.