5 ms·
There’s a bug: if a puzzle has multiple solutions, only one of them is considered “correct”.
by eapriv 2y ago
There’s a bug: if a puzzle has multiple solutions, only one of them is considered “correct”.
- QuadrupleA 2y agoAuthor here - check that the revealed ships in your puzzle are keeping their particular shape. E.g. a revealed-at-start "D" shape ship-end can't be the middle of a ship, or an "O" submarine, or face a different way that it's initially facing. 99.9% of the time people report this, it's a confusion about that aspect (if you can think of a way I can make it clearer definitely let me know!).
- hibikir 2y agoThe simplest way would be to also pre-fill forced empty spaces. It 'solves' part of the puzzle for the player, but hopefully that wasn't a key part of the fun. You go as far as to explain all of those bits at the bottom anyway. This kind of thing is done to great effect in "Good Sudoku", which gives players a lot of automated tools for the simplest things, as to lead players to handling the more fun, more complicated parts of the hard puzzles.
- QuadrupleA 2y agoThat would be a cool direction to explore.
- rtkwe 2y agoPutting a blank space in front of or behind as appropriate for the starting revealed square(s) would make sure people don't keep having the problem.
- QuadrupleA 2y agoHere's an experimental implementation, reveals the water cells around any revealed boats: https://lukerissacher.com/battleships?revealwater=1 https://lukerissacher.com/battleships?revealwater=1 Not sure I like it, kinda makes the starting puzzle noisy/crowded.
- acheron 2y agoYeah took me a bit to catch how the starting spaces worked. Not sure how to clarify that other than just writing it out in the instructions below.
- andrewla 2y agoI think the easiest way to make it clearer is to highlight it in red as a mistake if done incorrectly, as you do with the counts on the row ends. If you try to place a ship token close to another one then you should also highlight it in red.
- pkasting 2y agoFirst puzzle I got had four equally good solutions, none of which violated any of those.
- QuadrupleA 2y agoThink I found a good solution to this - there's now an immediate error message / red line when connecting incorrectly to a starting ship square: https://lukerissacher.com/battleships https://lukerissacher.com/battleships