Underground 2 Revived
Chrome과 Firefox에서 Need for Speed Underground 2를 WebGPU로 두고 팬 프로젝트입니다
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗A maker for printable picture puzzles for young kids (around age 5). Each puzzle is a grid of squares with pairs of matching pictures in it (two suns, two fish, two cars…), and the child joins each pair with a line. The sheets have no words, so they work for kids who can't read yet, and they're made for a black-and-white printer. The answer is hidden in a QR code: scan it with a phone camera to watch coloured lines draw each pair's way.
Live at https://tb-x.github.io/connect-the-pairs/
How a puzzle is made: a random path that runs through every square once (a snake, shuffled with hundreds of "backbite" moves), cut into lines of at least 3 squares. The cuts are placed so that no line runs alongside itself, which keeps the lines simple, and the two ends of a line are never next to each other. The ends of each line become a pair of pictures. A solver then checks that, with every square used, the puzzle has exactly one answer; if not, it tries again. A puzzle takes a few milliseconds, so even 20 pages of 7 × 7 come up in well under a second.
The QR code holds the whole puzzle in the link: the grid size, then five digits for each pair (its picture, then
its two squares, numbered row by row), e.g. #5x5.10712505132…. The digits go into the QR code in its numeric
mode, which packs them tightly, and every QR dot is at least 0.4 mm. The answer page solves the puzzle again from
the link. Nothing is stored anywhere, so a printed sheet keeps working for as long as this page is online. The QR
always points at the published page on GitHub Pages, even when the maker runs on a local server.
It's a single index.html with no build step. Serve the folder and open it:
python -m http.server 5219
Then go to http://localhost:5219/. Opening index.html straight from disk works too. The QR codes are made
by qrcode-generator 1.4.4 (MIT), loaded from cdnjs.
After the first visit the page also works offline and can be added to a phone's Home Screen.
Named constants at the top of the script in index.html:
| Constant | Default | What it does |
|---|---|---|
DEFAULTS | 5 × 5, 1 a page, 1 page | Starting settings |
PAIRS | 4: 3–4, 5: 4–5, 6: 5–6, 7: 6–8 | The sizes in the Size list, and how many pairs each has |
MIN_LINE | 3 | Fewest squares in one pair's line, counting both pictures |
BACKBITES | 20 | Shuffling moves per square for the random path through every square |
TRIES | 400 | Paths to try before giving up on a puzzle (one is nearly always found in the first few) |
SHEETS_MAX | 20 | Most pages printed at once |
GRID | 1, 2 (stacked), 4 (2 × 2) | How the grids sit on a page |
MAX_CELL | 36 mm | Biggest square on the sheet |
PIC | 0.78 | A picture's size, as a share of its square |
QR_SIZE | 24 / 22 / 20 mm | Answer QR code with 1, 2 or 4 grids a page |
QR_MODULE | 0.4 mm | Smallest QR dot: the QR code grows if it would be smaller |
LINE_W | 0.3 | Answer line thickness, as a share of a square |
DRAW_SPEED | 0.11 s | Time per square while the answer page draws a line |
COLOURS | red, blue, green, orange, purple, pink, teal, brown | One line colour per pair on the answer page |
PUBLIC_URL | https://tb-x.github.io/connect-the-pairs/ | Where the QR codes point |