Important alert: (current site time 7/16/2013 3:00:36 AM EDT)
 

winzip icon

Uno Game

Email
Submitted on: 5/6/2003 11:07:56 AM
By: Aries Buenaventura  
Level: Advanced
User Rating: By 43 Users
Compatibility: VB 6.0
Views: 26147
author picture
 
     Hi, I've created a game called UNO. You can play against 3 computer opponents. I add some fun animation here, so that the game looks cooler. I add a simple animation that you can play on, by entering a formula you can create your own animation. I hope you like it. Enjoy! ;-)

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 8 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
5/6/2003 1:20:43 PMDhaval Faria

its really excellent, I liked the way u did all animations.. very nice idea.
(If this comment was disrespectful, please report it.)

 
5/6/2003 3:57:27 PMIan

A lovely design, nice effects and fast coding but after a few hands it crashes with an "Object is already loaded", usually at the first statement in sub AlignNames
(If this comment was disrespectful, please report it.)

 
5/6/2003 4:00:12 PMmarkman

It is nice.
The error ian talked about produces this when compiled:
http://geocities.com/rossupload/uno.jpg
(If this comment was disrespectful, please report it.)

 
5/6/2003 7:25:18 PMabandoned_programmer

cool
(If this comment was disrespectful, please report it.)

 
5/6/2003 8:24:45 PMSub-Zero

If you can fix the crashes, it's will be a great game, also I don't have the Arial Narrow font so it crashes in the usercontrol.
(If this comment was disrespectful, please report it.)

 
5/6/2003 11:37:06 PMDhaval Faria

I am running Windows Server 2003, and its running perfect on it.
(If this comment was disrespectful, please report it.)

 
5/6/2003 11:43:22 PMHaru Glory

for those who don't have arial narrow http://geocities.com/ravemasterharuglory/font.zip
(If this comment was disrespectful, please report it.)

 
5/7/2003 12:40:27 AMBattleStorm

Where do I get the Microsoft Scripting Control? I have Windows 98 SE and it is not included and I can't find the download on Microsoft. I tried it on my Windows 2K machine and it worked fine, but I want to play it on my Windows 98 SE computer.
(If this comment was disrespectful, please report it.)

 
5/7/2003 2:34:54 AMBJ

I like the game UNO. I never thought i'll see it on PSC. Excelent. 5 * from me.

Also i have XP and it worked fine on my PC.
(If this comment was disrespectful, please report it.)

 
5/7/2003 10:24:00 AMIan

I've just been trying this new version and you do seem to have fixed the bug I described earlier. Just a couple of comments - there is a minor bug in sub SaveSettings which crashes the program because it assumes the path app.path/data/ exists. It is sometimes impossible to tell what colour is being played - for example it was on green then an opponent played a wild draw 4 and I can tell what colour we're on - a visual indicator (eg a small pic-box which simply changes colour) would be a big improvement. Finally, I hate the messagebox saying who starts - very crude. Otherwise a great program - you got my 5.
(If this comment was disrespectful, please report it.)

 
5/7/2003 1:36:22 PMTodd Herman

One thing... where is the source code for the user control? If I missed it in the zip.. i'm sorry.

Thanks
(If this comment was disrespectful, please report it.)

 
5/7/2003 5:14:50 PMKenneth Foster

Haru, I think you got it going.No crashes now on Win 98 now. I really like this game. Heres 5 from Texas.
(If this comment was disrespectful, please report it.)

 
5/7/2003 9:48:22 PMnoroom

Awesome work dude... Especially the mathematical functions with the scriptcontrol.
5 globes from noroom =)
(If this comment was disrespectful, please report it.)

 
5/8/2003 10:37:31 AM

Haru,

Installed this game on my home computer under Windows XP Home Edition. Then I had to BEG my Wife 2 hours later to let me have my computer back. Runs great. Would be nice if your hand was sorted with all the same colors together. 5 *'s from me.
(If this comment was disrespectful, please report it.)

 
5/8/2003 5:20:21 PMPete {vbAVI}

Great game!
Suggestion: Have the active color displayed somewhere (in status bar or somewhere). When the computer changed colors I didn't know what it was?!?!
(If this comment was disrespectful, please report it.)

 
5/8/2003 9:53:35 PMSub-Zero

Pete: the active color is right beside de discard pile, in the screenshot it's the black to green gradiant bar
(If this comment was disrespectful, please report it.)

 
5/9/2003 1:26:15 PMSavage

If you add some extra panels within sbStatusBar,
go into the Module: ModMain and
edit the Public Sub Gradient
with the following crude code at the end of the existing code:

Select Case Color
Case Is = 0: frmMain.sbStatusBar.Panels(1).text = "Now playing: Blue"
Case Is = 1: frmMain.sbStatusBar.Panels(1).text = "Now playing: Red"
Case Is = 2: frmMain.sbStatusBar.Panels(1).text = "Now playing: Green"
Case Is = 3: frmMain.sbStatusBar.Panels(1).text = "Now playing: Yellow"
End Select

frmMain.sbStatusBar.Refresh

It is easier to tell which color you are on. Also it doesn't hurt to hide the logo when you start a new game with:

Set picTable.Picture = Nothing
picTable.AutoRedraw = True

and then RepaintLogo if you win and then hide it again when you deal again.

This is a great game and some fancy code. Find an UNO icon to pretty up the executable. Great work! *****
(If this comment was disrespectful, please report it.)

 
5/10/2003 10:09:48 AMWong Yat Seng

i gave u a fiver for ur efforts in contributing to game programming. support the open-source community!
(If this comment was disrespectful, please report it.)

 
5/14/2003 10:37:45 AM

sexy
(If this comment was disrespectful, please report it.)

 
5/14/2003 2:14:41 PMDream

Very Nice Indeed
(If this comment was disrespectful, please report it.)

 
5/14/2003 3:34:59 PMDream

Haru, Savage and anyone else interested, grab Uno icon here ... http://dream-domain.net/download/misc/Uno.zip (Please vote for my icon...Kidding)
(If this comment was disrespectful, please report it.)

 
5/14/2003 3:46:58 PMDream

Hmm, why do you have the icon load on startup, other than to conceal it when compiling?
(If this comment was disrespectful, please report it.)

 
5/14/2003 11:30:24 PMHaru Glory

Dream, the reason i've done that because i want to save more space and used the icon again but i forgot.
(If this comment was disrespectful, please report it.)

 
5/15/2003 3:28:59 AMDream

Then I take back one globe, this code has amnesia lol
(If this comment was disrespectful, please report it.)

 
5/16/2003 10:52:11 AMClaeys Sven

I found another "bug": set the option to play with 4 players (you and 3 pc's), name the three PC's (in the right order): PC 1, PC 2 and PC 3. Now play, and as you will see, pc 1 is above on the screen, PC 2 is left on the screen, and PC 3 right, and they play in this order. Wouldn't it be more logical to name them in clockwise order? PC 1 left, PC 2 above, PC 3 right?
(If this comment was disrespectful, please report it.)

 
5/17/2003 6:32:45 AMHaru Glory

Claeys Sven, it is not a bug, there is no error there. I know that the computer don't play in clockwise because that's the way i program it. Beside your playing in the computer.
(If this comment was disrespectful, please report it.)

 
5/17/2003 7:04:15 AMHaru Glory

thanks to all who voted me and those
who appreciate my work. More to come...
(If this comment was disrespectful, please report it.)

 
5/19/2003 2:54:51 PMHaru Glory

Added features...AutoSort,Demo,Cheat...the computer can play now in clockwise...
minor bug fixed!



(If this comment was disrespectful, please report it.)

 
5/20/2003 11:25:05 AMSub-Zero

I love the new features, it's a shame I can't vote another time :)
(If this comment was disrespectful, please report it.)

 
5/21/2003 1:04:23 PMSub-Zero

Maybe a bug, if a computer wins and I only have a 0 card in my hand, the total score is awarded to me? is that normal?
(If this comment was disrespectful, please report it.)

 
5/28/2003 10:23:42 PM

A great game, and some great work here. Looking forward to NetUno...
(If this comment was disrespectful, please report it.)

 
6/30/2003 6:15:50 PM

amazing.
(If this comment was disrespectful, please report it.)

 
7/24/2003 5:05:57 PM

gah addictive, i played 34 friggen games straight. can u tell me which part it is that when u resize it, everything inside resizes? ive been dealing with that problem fer a while lol
(If this comment was disrespectful, please report it.)

 
8/15/2003 10:54:34 AM

I've played this game for years, and had downloaded it a few times from unknown sources, been a member of pscode for a very long time, was impressed to find this here today, as UNO cannot be found as an online game anywhere, keep up the good work, 5 stars from me, i also have the stand alone version as well, must had been written by you also

Russ
(If this comment was disrespectful, please report it.)

 
9/20/2003 7:09:37 PMLenin Cruz

nice work pre! nakatulong ka sa pag angat ng pagtingin ng mga tao dito sa pinoy
(If this comment was disrespectful, please report it.)

 
11/7/2003 3:36:04 PMHaLi_MaW

Korek ka diyan kapatid!!!
Halu ikaw ang pambato namin ditoh!!!
Hehehehe
(If this comment was disrespectful, please report it.)

 
11/12/2003 6:31:57 PM

Haru,

A friend of mine compiled the code for me, and I'm getting the following error:
"Run-time error '429':
ActiveX component can't create object."

This is the first thing that happens when I try to run it. My OS is WIN 98SE and I'm using DirectX 9.0.

What's wrong? What am I lacking?

Paul
(If this comment was disrespectful, please report it.)

 
2/2/2004 1:59:36 PM

Great Code for my XP but I get the 429 runtime error on my son'e ME system. Any suggestions?
(If this comment was disrespectful, please report it.)

 
4/30/2004 1:49:10 PMJohn Ripper

To Haru glory!
if you are the webmaster of this site, http://www.heartbreaksoftware.com/HBS/Page_18.html
please remove my Mahjongg game from it. I dont give any permission to you for selling the game

John.
(If this comment was disrespectful, please report it.)

 
4/30/2004 2:35:57 PMAris Buenaventura (Haru Glory)

John Ripper. I don't know what you are talking about and I'm not the webmaster of that site. I'm going to check the site, maybe there selling also my work.
(If this comment was disrespectful, please report it.)

 
9/29/2004 7:14:29 AMMaran

Addictive and brilliant - nice code it has stopped me from writing my own for a good couple of games now... keep up the good work *****
(If this comment was disrespectful, please report it.)

 
9/29/2004 8:53:41 AMJ. Rostek

Great Game
Nice Code


(If this comment was disrespectful, please report it.)

 
9/29/2004 11:30:51 AM

great verision, AI is pretty good.

Good Job.
running on XP no problems.
(If this comment was disrespectful, please report it.)

 
9/29/2004 4:51:29 PMHeriberto Mantilla Santamaría

This's alone a new announcement of this program.
(If this comment was disrespectful, please report it.)

 
9/29/2004 10:06:34 PMtfmalone

This is fantastic! Thanks for this. (PS That site John mentioned is very interesting!)
(If this comment was disrespectful, please report it.)

 
10/1/2004 10:56:15 AM

I get the 429 run-time error. Active X can't create component. I have found it is to do with mswinsck.ocx which is on my machine. Is there a answer?
(If this comment was disrespectful, please report it.)

 
10/2/2004 6:59:27 AMPaul Turcksin

This game has everything;: nice UI, excellent help, lots of fun. Thanks for sharing. 5 big ones from me.
(If this comment was disrespectful, please report it.)

 
11/10/2004 9:36:22 PMFrances Selarde

Ayos pre, iba talaga ang galing ng mga pinoy!

keep up the good work pre, at sana marami ka pang matulungan. Thanks! :-)
(If this comment was disrespectful, please report it.)

 
3/14/2007 3:22:00 AMBeebymensies

U R DA MAN!!!
:) :) :) :)
Like BJ said at top...@@@@@ for me!!!
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.