02-15-2021, 11:07 AM
Matthew,
As I said this is working much better. However I am still seeing issues that relate to the fact that during the setup phase Large Pieces work best and in the shooting phase it would be much better if I could convert the Large Pieces to single pieces. I outlined this in the "Conversion Approach" above.
For example it seems that a Large Piece is only present at one of its spaces. So it seems if I make one of the other spaces visible nothing happens. If make that one space visible then suddenly everything is visible. This is not how Battleships is supposed to work. Also when you get a hit you are supposed to know what you hit. This would work more easily with the Conversion Approach.
I attach the latest .lud file and a trial.
Also some things that look wrong to me from the test Ludeme dialog:
"(sites LargePiece at:181)" returns "[11]"
"(sites LargePiece at:161)" returns "[]"
"(sites LargePiece at:141)" returns "[]"
"(sites LargePiece at:121)" returns "[]"
"(sites LargePiece at:101)" returns "[1,101,121,141,161,181]"
I would expect all of these to return ""[101,121,141,161,181]".
As I said this is working much better. However I am still seeing issues that relate to the fact that during the setup phase Large Pieces work best and in the shooting phase it would be much better if I could convert the Large Pieces to single pieces. I outlined this in the "Conversion Approach" above.
For example it seems that a Large Piece is only present at one of its spaces. So it seems if I make one of the other spaces visible nothing happens. If make that one space visible then suddenly everything is visible. This is not how Battleships is supposed to work. Also when you get a hit you are supposed to know what you hit. This would work more easily with the Conversion Approach.
I attach the latest .lud file and a trial.
Also some things that look wrong to me from the test Ludeme dialog:
"(sites LargePiece at:181)" returns "[11]"
"(sites LargePiece at:161)" returns "[]"
"(sites LargePiece at:141)" returns "[]"
"(sites LargePiece at:121)" returns "[]"
"(sites LargePiece at:101)" returns "[1,101,121,141,161,181]"
I would expect all of these to return ""[101,121,141,161,181]".