frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Roll Solver – daily multiplayer word puzzle PWA

https://rollsolver.com
3•peterbr•11h ago
So I started this project because my wife wanted a way to check if her word dice game rolls were solvable to avoid wasting time on a roll. I started a building a tool that accepts a picture of the dice and quickly answers if the roll can be solved. Well, that quickly devolved into building a highly-optimized solver efficient enough to run in the browser on WebGPU. Once the solver worked, it turned into an excuse to finally explore multiplayer game dev, which I did with PartyKit and some Cloudflare primitives (durable objects, D1, workers). During this process it all became an actual game I shipped.

Where the games features ended up:

- A "daily" mode where everyone gets the same 12 tiles each day, and the scoring goal randomly changes (most words, longest word, most crossings, rarest words) tracking streaks and leaderboards.

- Real-time multiplayer

- 1v1, or drop an invite link into a group chat and up to 10 people race the same roll live, one Durable Object per match room. If no other human's are queueing to play, you can play bots instead of waiting. There's also Arena, where up to 10 players take a shared roll for a spot on a 24h heat leaderboard.

- No ads, no IAP, no sign-up. Guest play is anonymous auth that upgrades in place if you choose to sign in.

Things I learned:

- Powered by one shared ts core (engine, scoring, word table, match protocol) with a react PWA and react-native for ios/android. The core makes it so the rules can't drift between web and native and so prelim scoring and offline play can be client-side while all ranked and multiplayer scoring is server-side

- Each match room is one Durable Object and since a DO is single-threaded and globally a single-nstance, it's the authoritative in-memory source of truth for the match. that way no external lock or DB round-trip need on the hot path. everyone in the room (up to 10 players) has a websocket to that one object. when players make moves, the DO broadcasts progress delta (tiles used, word count, %) to the other players and streams the board itself for a "watch everyone" view. there are also emojireactions on the same channel

- For timed modes there's a server side match clock. so the DO stamps a start time plus duration when the match goes live, and clients render the countdown from that deadline instead of using a local timer (tried that at first and there was drift). end of match board lock-in fires from a DO timer alarm at 0:00 instead of a client message. I learned the hard way not to let match finalization depend on a client being online or on time so now there's a flush window for in-flight board submissions.

- One real gotcha was the DO lifecycle. learned that Durable Objects can be evicted seemingly randomly and recycled mid-match, so the room has to rehydrate its state instead of assuming it stayed resident, and the streamed game boards needed to survive that. Supporting a max of 10 players per room meant a modest fan-out not requiring anything exotic and the DO's single-threaded consistency kept it all pretty simple and then partyserver handling all the socket plumbing was a breeze

PWA: https://rollsolver.com iOS: https://apps.apple.com/app/id6788792065

Show HN: Calyxa – Browser Native AI tutor solving the "cheating" problem

https://calyxa.app
1•Darcy0911•41s ago•0 comments

Show HN: 3D Biological Fractals in Browser

https://fractl.art
1•gilded-lilly•1m ago•0 comments

DeepSeek cut prices 75%. The 100x problem remains

https://venturebeat.com/orchestration/deepseek-cut-prices-75-the-100x-problem-remains
1•T-A•1m ago•0 comments

Show HN: Take a photo of a menu, get a website

https://www.eatfoodnow.com/
1•t-van•3m ago•0 comments

Inertia.js Adapter for WordPress and PHP

https://github.com/webkul/inertia
1•himanshu-here•6m ago•0 comments

Job Scheduling for Node.js

https://www.nodecron.com/
1•ankitg12•7m ago•0 comments

"Turing Complete" Learn CPU architecture with puzzles video game

https://www.youtube.com/watch?v=goclUECM2ds
1•innerHTML•10m ago•0 comments

"Fork it or leave": Linus Torvalds fires back at Linux's anti-AI crowd

https://www.neowin.net/news/fork-it-or-leave-linus-torvalds-riles-up-linuxs-ai-luddites/
1•auggierose•10m ago•0 comments

The Hugging Face Breach Is a Warning for Every Company Betting Big on AI

https://www.inc.com/chloe-aiello/the-hugging-face-breach-is-a-warning-for-every-company-betting-b...
1•saikatsg•11m ago•0 comments

Book publisher sues tech companies over AI training

https://www.reuters.com/legal/transactional/chicken-soup-soul-publisher-sues-tech-companies-over-...
1•1vuio0pswjnm7•12m ago•0 comments

Oracle Credit Risk Hits Near 18-Year High on AI Debt Load Angst

https://www.bloomberg.com/news/articles/2026-07-20/oracle-credit-risk-hits-near-18-year-high-on-a...
1•1vuio0pswjnm7•18m ago•0 comments

TCGRoll

https://tcgroll.com
1•drewsly•24m ago•0 comments

China weighs tighter export controls on AI models and chips

https://www.ft.com/content/6049a031-9e9b-464c-97bb-414da04d5a6a
2•JumpCrisscross•26m ago•0 comments

AI Nutrition Facts

https://www.g9labs.com/2026/07/20/ai-nutrition-facts/
1•gsgnine•27m ago•0 comments

Insightix – when Polymarket and Deribit price the same event differently

https://insightix.io
1•chriswolff•29m ago•0 comments

Trump's latest AI czar has resigned

https://techcrunch.com/2026/07/20/trumps-latest-ai-czar-has-already-resigned/
1•adithyaharish•30m ago•0 comments

Assessing State Reaction to the Supreme Court's Undermining of Property Rights

https://statecourtreport.org/our-work/analysis-opinion/assessing-state-reaction-supreme-courts-un...
2•1vuio0pswjnm7•30m ago•0 comments

Havana syndrome: US to compensate victims

https://www.bmj.com/content/394/bmj-2026-100312
1•Coral-Tiny•30m ago•0 comments

Show HN: HyCanvas, a free self-hostable Canva alternative

https://github.com/hyscaler/HyCanvas
2•devadattas•31m ago•0 comments

France's edge in the AI race is cheap energy

https://www.politico.eu/article/frances-edge-in-the-ai-race-is-cheap-energy-if-american-big-tech-...
1•leonidasrup•33m ago•0 comments

Reproducing the Jacobian conjecture counterexample in two cells of SymPy

https://korbonits.com/blog/2026-07-20-trust-nothing-verify-everything/
1•korbonits•35m ago•1 comments

Retriever: A Programming Framework for Closed-Loop Robot Agents

https://retriever.systems/blog/
1•ilreb•35m ago•0 comments

AI's Next Big Breakthrough Is Looking Pretty Scary

https://www.bloomberg.com/opinion/articles/2026-07-21/self-improving-ai-models-look-genuinely-scary
2•petethomas•36m ago•0 comments

Reverse-engineering is cheap now

https://simonwillison.net/2026/Jul/20/cheap-reverse-engineering/
4•edward•40m ago•0 comments

Brain runs on about twenty watts

https://medium.com/@hugo.minney/the-20-watt-brain-can-we-connect-brains-for-computing-f8981b9ca7f9
2•giuliomagnifico•40m ago•1 comments

A Factory Reset Left the Previous Owner's GPS Coordinates on a Kasa Camera

https://www.vincentschmalbach.com/factory-reset-kasa-camera/
1•vincent_s•41m ago•0 comments

The Galaxy Card Is Samsung's Answer to the Apple Card

https://www.wired.com/story/galaxy-card-is-samsung-answer-to-the-apple-card/
1•divbzero•42m ago•0 comments

Show HN: Use This Instead of 4Chan

https://interactink.vercel.app/interactink.html
1•squeezes•44m ago•0 comments

How to Build the ChatGPT Typing Effect in Modern JavaScript

https://jsdev.space/howto/chatgpt-typing-effect/
1•javatuts•46m ago•0 comments

9 months building an advanced StarCraft reporting tool with Go and Claude

https://marianogappa.github.io/thoughts/building-an-advanced-starcraft-reporting-tool/
1•maloga•47m ago•0 comments