hello guys,

i want to programming a simple game. please see these picures

first picture:


second picture:


last picture:


"Jump over a token and capture the token. Every
move must be a jump! Only horizontal and vertical moves are allowed, no diagonal
movement in the game. The objective of the game is to capture all the tokens, except the
last piece. Figure on the left showing the player keys in the
“From” and “To” as D2 and D4 respectively. There
are several validations need to be performed here. D2
must be a token there and D4 must be an empty space.
D2 and D4 must be separated by a token to perform
the jump. Figure shows the update after second move, from F3
to D3. You could notice that every valid move is
either horizontal or vertical. Thus the “From” and
“To” must be either having the same x-axis or the
same y-axis. This is useful for performing validation."

help pleas :(

waiting for you

6 Years
Discussion Span
Last Post by Salem
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.