Posted: Mon Jun 06, 2011 8:47 am Post subject: Checkers game, need assistence.
The other one was getting me no where so lets start from scratch.
What I need help is the click for the square the piece is moving to. I know that I need to program one click to select the piece, then another click for where the piece is moving, and have the piece on the new square. I will put an attachment with what I have.
this is where I am trying to get the piece to move for now.
VisualBASIC:
PrivateSub cmdA2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdA2.Click If Colour = 1Then If gameboard(0, 7) = 1Then IfNot Firstclick Then
Firstclick = True
fromRow = 0
fromCol = 7 EndIf ElseIf gameboard(0, 7) = 0Then
EndIf ElseIf Colour = 2Then
EndIf EndSub
If any one could help me, or help me work this out I would be grateful.
(just so you know I am not asking you to do this for me, just in case you were thinking that.)