Quick Search for:  in language:    
code,artificial,intelligence,checkers,program
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 3,014,970. lines
 Jobs: 119. postings

 How to support the site

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for Visual Basic.
Click here to see a screenshot of this code!Excel Into a webpage
By Bill Donahue on 7/2

(Screen Shot)

Unroll2 - Update
By Cyber Chris on 7/2


MultilinePWD
By Cyber Chris on 7/2


Click here to see a screenshot of this code!Song/Poem Assistant
By Peter Rowan on 7/2

(Screen Shot)

Click here to see a screenshot of this code!GPA Cal
By KBM-00 on 7/2

(Screen Shot)

Click here to see a screenshot of this code!Connection Via the Telephone line.No internet or cable.Just the telephone line
By Nass ClickMan on 7/2

(Screen Shot)

DBTool
By Make Strömberg on 7/2


Click here to see a screenshot of this code!MSChart Simple Example
By Sebastian Pereira on 7/2

(Screen Shot)

CString v1.5
By Ultimatum on 7/2


Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

AI Checkers

Print
Email
 
winzip icon
Submitted on: 5/24/2000 3:42:49 PM
By: Viper 
Level: Intermediate
User Rating: By 10 Users
Compatibility:VB 4.0 (32-bit), VB 5.0, VB 6.0

Users have accessed this code 6831 times.
 
(About the author)
 
     This code is an artificial intelligence checkers program and is virtually impossible to beat (Runs at depth of 5 or 6 on a P2 266). This code has won 2 code of the month awards both on this website and A1VBCode.

 
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 Winzipto 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 2 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Intermediate 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/24/2000 10:38:37 PM:Cool33
What exactly (for those of us not yet 
involved with AI) is depth 5 or 6 at 
Pentium 2, 266 MHtz? Thanks
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/24/2000 10:49:46 PM:John Pettit
Depth 5 and 6 when used correctly means 
that the computer's AI analyses 
serially all the moves that are 
possible by both players only for the 
next 5 or 6 moves. then it will select 
the best move...
i'm not sure whether 
viper means 5-6 computer moves or 5-6 
moves including both players. (i 
haven't yet checked whether the program 
really does this :)
and...
I don't 
really want to say it, but I beat this 
AI quite easily.  Probably not because 
it's not functioning well enough, but 
because it allows unpremoted checkers 
to take the other players checkers if 
they are behind it.  I don't remeber 
all the rules of checkers but I'm 
pretty sure that's an illegal move. 
When you click to take a piece behind 
your unpremoted checker the computer's 
checker dissapears and my piece remains 
unmoved. Try it!
It's a great 
program. Keep up the good work!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/27/2000 10:48:57 AM:Viper
A NEW version is now avaliable this all 
the bugs fixed (square are the right 
colour, you cannot take backwards, 
etc.) and a primative Alpha Beta 
Pruning routine has been implemented!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/3/2000 11:23:09 AM:Dan
Great work though looking through i 
still don't understand how the A B 
pruning has been implement (is it depth 
first now?? or is it possible to use AB 
prun. with breadth first??)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/3/2000 2:23:20 PM:Viper
Full international rules now 
employed
(but a bug somewhere please 
help find it)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/3/2000 6:12:58 PM:Dan
You need to update the screenshot to 
reflect the changes. i am updating mine 
too now we actualy know the proper 
rules (lol!)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/3/2000 6:54:17 PM:Dan
What does  the bug do??
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/16/2000 12:38:07 AM:SantaRulz
Beaten since 1st play ;) It does have a 
very nice AI, congrats!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/16/2000 9:34:11 AM:Dave
Very nice! Although it seems you can 
take backwards on a double/triple jump, 
etc..
It's the best Checkers I've seen 
yet!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/7/2002 12:00:59 AM:Azhar Khorasany
Its a great game! I was trying to make 
this game for at least 2 weeks but 
there are some problems in my AI. Would 
you don't mind if I use some of your 
AI.
Azhar
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/23/2003 6:33:19 PM:Yello
i kicked its a$$ .
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/31/2003 1:08:24 AM:Bram Pelgrom
"Impossible to beat" ... erm ... I, a 
16 old, beaten it the first round.... 
hehe, nice AI though :P
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/3/2003 9:01:11 AM:Nico Bottema
at the end of the first round (only 
round) platying this this at least half 
of my pieces left, gotta work on the ai
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.