TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Battleship Solitaire

65 pointsby dhotsonabout 7 years ago

11 comments

mrecabout 7 years ago
It's missing some really basic instructions, i.e. clicking cycles between "not marked", "marked as water" and "marked as ship". Just saying "Click squares to set where you think the ships are." is singularly unhelpful.
评论 #16443491 未加载
评论 #16448573 未加载
flipacoin0about 7 years ago
This is great! I&#x27;d love to see it as part of Simon Tatham&#x27;s Portable Puzzle Collection [1]<p>[1] <a href="https:&#x2F;&#x2F;www.chiark.greenend.org.uk&#x2F;~sgtatham&#x2F;puzzles&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.chiark.greenend.org.uk&#x2F;~sgtatham&#x2F;puzzles&#x2F;</a>
评论 #16448138 未加载
kazinatorabout 7 years ago
Solitaire Battleship is very similar to &quot;nonogram puzzles&quot;, e.g.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Nonogram" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Nonogram</a><p><a href="https:&#x2F;&#x2F;www.puzzle-nonograms.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.puzzle-nonograms.com&#x2F;</a><p>You have a grid where the rows and columns are labeled with how many squares there are (additional info: you get splits, like &quot;3 2&quot; means there is a run of 3, and 2). You have to work out the image.<p>This Solitaire Battleship is hard though, because of the sparse placement and has other elements to it.<p>There is a similarity to this and the reconstruction of an image from projection data. Horizontal and vertical histogram data has been used for OCR. (You can recognize a glyph from the histogram patterns.)<p>This is also related to the backprojection technique used in CT scans to reconstruct the slice images.
CapitalistCartrabout 7 years ago
This looks to be as addictive as 2048. I still play that one.<p><a href="https:&#x2F;&#x2F;gabrielecirulli.github.io&#x2F;2048&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gabrielecirulli.github.io&#x2F;2048&#x2F;</a>
starshadowx2about 7 years ago
I&#x27;ve been able to solve all the ones I&#x27;ve gotten so far, but I&#x27;m stumped as to how to do this one (<a href="https:&#x2F;&#x2F;i.imgur.com&#x2F;6qmZX7z.png" rel="nofollow">https:&#x2F;&#x2F;i.imgur.com&#x2F;6qmZX7z.png</a>) without<p>1. trial and error, or<p>2. using the checking tool to see what I did wrong (cheating in a sense)<p>I feel like there&#x27;s a strategy that I&#x27;m missing here. I&#x27;m just not sure what my next step should be, which would probably help me get all the rest done.
评论 #16448217 未加载
keenerdabout 7 years ago
Here is how to solve them with SAT: <a href="http:&#x2F;&#x2F;kmkeen.com&#x2F;battleship&#x2F;" rel="nofollow">http:&#x2F;&#x2F;kmkeen.com&#x2F;battleship&#x2F;</a>
vinchucoabout 7 years ago
I was confused at first, but by &#x27;mistakes&#x27; the author only means false positives, and not false negatives.<p>I guess... &quot;Anyone who has never made a mistake has never tried anything new&quot;
macraelabout 7 years ago
A fun little game, it seems like there are some solutions that are ambiguous though and it only allows one as the solution.
评论 #16443374 未加载
jack9about 7 years ago
Simpler version of Nonograms.<p>Crossme Nonograms is one of the best non-sudoku mobile games that is somehow more fun.
alejohausnerabout 7 years ago
For a while, the NY Times Sunday mag had just this kind of puzzle, in print form.
twiceadayabout 7 years ago
This puzzle is a bit janky and is able to have multiple solutions but only accepts one [1]. I recommend checking out similar-style puzzles called &quot;nonograms&quot; which are widely available.<p>[1] <a href="https:&#x2F;&#x2F;i.imgur.com&#x2F;1leWCg9.png" rel="nofollow">https:&#x2F;&#x2F;i.imgur.com&#x2F;1leWCg9.png</a>
评论 #16443541 未加载
评论 #16443547 未加载