Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / December 2007

Tip: Looking for answers? Try searching our database.

artificial inteligence

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andy B - 23 Dec 2007 22:03 GMT
I want to make a uno game where you can have multiple players including the
computer if the human player/s want it to. How would you make the support
for computer to play and actually play the right cards if it has any?
Peter Bromberg [C# MVP] - 24 Dec 2007 03:27 GMT
Well! First of all you would need an UNO Cards class to show the UNO cards
with all their colors.
Then you would need to code the logic for the computer to determine the card
color and number and decide what card to play from it's "Hand".
Then you would need a mechanism to keep track of each player's current hand
and the remaining cards in the UNO deck that haven't yet been drawn.

-- UNO!
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com 

> I want to make a uno game where you can have multiple players including the
> computer if the human player/s want it to. How would you make the support
> for computer to play and actually play the right cards if it has any?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.