10-31-2020, 01:32 AM
(This post was last modified: 10-31-2020, 01:35 AM by slimy_asparagus.)
Okay I am beginning to make some progress. I have attached the latest and best code.
Now you can do the following:
1. Player 1 moves its piece onto the board.
2. Player 2 moves its piece onto the board (next to player 1's piece).
3. Player 1 moves its piece onto the top of player 2's piece.
4. Player 2 now tries to move its piece.
This is where things get stuck. Player 2 picks up player 1's piece rather than its own. This should not be happening. (I had a scenario where this could but that is a long way down the road.)
Also I don't understand why I need to have ("MoveWithinBoard") in the piece description but ("MoveOntoBoard") in the play rules.
Now you can do the following:
1. Player 1 moves its piece onto the board.
2. Player 2 moves its piece onto the board (next to player 1's piece).
3. Player 1 moves its piece onto the top of player 2's piece.
4. Player 2 now tries to move its piece.
This is where things get stuck. Player 2 picks up player 1's piece rather than its own. This should not be happening. (I had a scenario where this could but that is a long way down the road.)
Also I don't understand why I need to have ("MoveWithinBoard") in the piece description but ("MoveOntoBoard") in the play rules.