Source code for checkers game in VB

I need source code of the checkers game in Visual Basic.  It's for a school project. I need it, please help me. ;-)
pascalsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DalinCommented:
It is not proper to ask someone to do a school project for you.

0
FoyalCommented:
Use an array of image or label controls for the grid then check for valid jumps using simple if then statements something like:

Sub Squares_Click(Index as integer)

Select Case Index
  Case 0:
    If Squares(0) = Red and Squares(1)= Black and Squares(2) = Blank then
   Jump 0 1 2 1
    End If
'and on and on...

End Select

End Sub

Sub Jump(ByVal JFrom as integer, ByVal JOver as integer, ByVal JTo as integer, ByVal JColor as Integer)
 
  Dim Color as String
 
  If JColor = 1 then
     Color = "Red"
  Else
     Color = "Black"
  End If

  Squares(JFrom) = Blank
  Squares(JOver) = Blank
  Squares(JTo) = Color


End Sub

You can tune this up alot and do it about a million ways but you should get the idea... as far as the logic of the
computer player, you'll have to work that out yourself...
0
JuiletteCommented:
I agree and it seems everybody and their brother does it and the only loser in the game is the person who doesn't take the time to ask.... only what needs to be asked when stuck..
Ie..get a plan..when you get stuck...ask a question.
1.how many squares
2.what control will be my square
3.what happens when I move
etc. etc..etc.
BTY...that is not a little project so you better get busy.

Wayne

PS..if you want to program..PROGRAM
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

pascalsAuthor Commented:
Thanks, but i want a source code of the checkers game, not the chess game !
0
GunsenCommented:
Hmmm, here is a link to give u some idea :
http://www.isat.jmu.edu/common/projects/STUDENT/Checkers/

I've made several board games in turbo pascal - way back.
The interesting/tough part is the computer AI, which btw is excluded from the project above. :-)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.