skotz / volcanoes

Prototype for a new board game
4 stars 1 forks source link

What causes Illegal Moves? #12

Closed simondorfman closed 5 years ago

simondorfman commented 5 years ago

Looking at some tournament transcripts, I see several games that end in a draw from an illegal move. I've played back the games, but I can't figure out what's causing the illegal move. Any ideas? Spreadsheet attached with some sample games. I believe the games were played with these rules:


{
  "MaxMagmaChamberLevel": 4,
  "MaxVolcanoLevel": 8,
  "EruptOverflowEmptyTileAmount": 1,
  "EruptOverflowFriendlyTileAmount": 1,
  "EruptOverflowEnemyTileAmount": -2,
  "EruptOverflowAllowCapture": true,
  "AllowMagmaChamberCaptures": false,
  "AllowVolcanoCaptures": false,
  "TournamentAdjudicateMaxTurns":1000,
  "TournamentAdjudicateMaxSeconds": 1000,
  "CustomSettingsTitle": ""
}

IllegalMove.xlsx

skotz commented 5 years ago

I think the common denominator in those games is that the Deep Beeline engine returns a null move once all empty or friendly chamber tiles are gone. I'm filtering out volcano moves, so it thinks it doesn't have any moves.

skotz commented 5 years ago

Did you truncate the transcript strings in that file to 255 characters?

simondorfman commented 5 years ago

@skotz Thanks for the tip about Deep Beeline filtering out volcano moves. Sorry about the truncated strings. Github wouldn't let me upload a CSV. OpenOffice saved to .XLS, but that wasn't accepted. So I installed LibreOffice and converted the .XLS to .XLSX. So I think OpenOffice must have truncated at the save to .XLS step. Attached is a non-truncated version for posterity. IllegalMoveNotTruncated.xlsx

skotz commented 5 years ago

The issue should be fixed now, so let me know if it happens again.