Hacker GitHub

← All repos

propjockey/css-sweeper

View on GitHub ↗ ★ 856 HTML

MineSweeper implemented in CSS + HTML using the Space Toggle trick (no JavaScript!)

6 mentions on Hacker News by 6 people: 2 stories, 4 comments · first 2020-07-22 · latest 2022-07-28

Mentions per year 6 mentions · busiest year 2020 (5)
20082026
  1. …than that since they can be changed at runtime which allows e.g. minesweeper in pure HTML and CSS: https://github.com/propjockey/css-sweeper
    comment by account42 · 2022-07-28 · in Help pick a syntax for CSS nesting
  2. The comments from James0x57 led me to a github repo wherein he discusses this hack https://github.com/propjockey/css-sweeper > Space Toggle has been independently discovered a number of times > @anatudor probably the first to discover it -…
  3. …how much web-components could be pushed using only CSS via things like the "space toggle" trick ( https://github.com/propjockey/css-sweeper ). Though I guess that couldn't emit events and the like.
    comment by elcritch · 2020-09-30 · in The Failed Promise of Web Components
  4. …nasty even with CSS variable programming which can apparently be used for interactive games ( https://github.com/propjockey/css-sweeper ). As I looked into things writing for this post I couldn't come up with a non-JS way to transition…
    comment by lawik · 2020-09-15 · in Tracking users via CSS