Hi,
I am experiencing a very weird behaviour.
I am trying to write the beautiful game "Shobu", which originally has 4 separate 4x4 boards but I decided to implement it with 1 8x8 board.
The initial placement is:
This gave me the expected output when compiling it the first time.
I then tried to write the first part of the move, which is to move a piece from "your" board. In this case I was just testing this for P1, so I wrote
When compiling the game again, no pieces were shown on the board.
After clicking on "Analysis" on the top bar, the status prints the following errors
and the "status", "rules", etc... info on the right side all disappeared.
What is going on?
Kind Regards,
Fabio
Unrelated to this problem - but I thought that it might be useful to introduce a "step" parameter to (move Slide) to limit how far the piece can go
I am experiencing a very weird behaviour.
I am trying to write the beautiful game "Shobu", which originally has 4 separate 4x4 boards but I decided to implement it with 1 8x8 board.
The initial placement is:
Code:
(place "Ball1" (union (sites Bottom) (sites Row 4)))
(place "Ball2" (union (sites Top) (sites Row 3)))
I then tried to write the first part of the move, which is to move a piece from "your" board. In this case I was just testing this for P1, so I wrote
Code:
(move Step
(from (sites Occupied by:Mover))
Forward
(to if:(is Empty (to)))
(then (moveAgain))
)
After clicking on "Analysis" on the top bar, the status prints the following errors
Code:
VC_ERROR: Error detected when attempting to draw COMPONENTS
VC_ERROR: Error detected when attempting to draw POSSIBLEMOVES
and the "status", "rules", etc... info on the right side all disappeared.
What is going on?
Kind Regards,
Fabio
Unrelated to this problem - but I thought that it might be useful to introduce a "step" parameter to (move Slide) to limit how far the piece can go