TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Minesweeper game implemented in HTML/CSS

11 点作者 cnees超过 7 年前

3 条评论

cnees超过 7 年前
Code: No JavaScript, no CSS3. <a href="https:&#x2F;&#x2F;github.com&#x2F;cnees&#x2F;minesweeper" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cnees&#x2F;minesweeper</a><p>Gameplay: Each number tells you how many of the tiles touching it (on sides and corners) are bombs. This board is designed to be solvable without guessing.<p>Pro Tip: You can undo a move by clicking on the square and typing Shift+Tab.<p>Discussion: Can you figure out how it works? Can you think of a way to implement flagging, game-over, or other features? Know of any other HTML&#x2F;CSS hacks?
cnees超过 7 年前
See also: HTML&#x2F;CSS Lite-Brite<p><a href="https:&#x2F;&#x2F;codepen.io&#x2F;qaz&#x2F;full&#x2F;wzams&#x2F;" rel="nofollow">https:&#x2F;&#x2F;codepen.io&#x2F;qaz&#x2F;full&#x2F;wzams&#x2F;</a>
brazzledazzle超过 7 年前
Pretty cool. This takes me back.<p>One thing I noticed is I can see which squares are mines when I zoom out all the way on iOS. Not very noticeable but there’s a thin red line on the bottom of those tiles.
评论 #15489215 未加载