Computer Science Canada

Checkers game, need assistence.

Author:  william 01 [ 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:

Private Sub cmdA2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdA2.Click
        If Colour = 1 Then
            If gameboard(0, 7) = 1 Then
                If Not Firstclick Then
                    Firstclick = True
                    fromRow = 0
                    fromCol = 7
                End If
            ElseIf gameboard(0, 7) = 0 Then

            End If
        ElseIf Colour = 2 Then

        End If
    End Sub


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.)


: