
Patterns With Friends
一款免费在线瓷砖拼图游戏,与朋友或电脑对战。
heliostatic · HN
A couple weeks ago we were on vacation with friends, and after the kids were asleep we played games -- mostly Qwirkle, which I had never played and am terrible at. I don't care about being terrible at games, so I made a web version to keep playing after vacation: build lines of tiles that share a color or a shape, 2-4 players (or add bots). I wanted it to be low friction, so there are no accounts. Your identity is an anonymous id in localStorage, and you can move it to another device by scanning a QR code or hitting a unique url. Start a game and text someone the link (game slugs are semi-memorable three word phrases), or "Play the computer" and you can play immediately against bots. Games are async-friendly with web push for turn notifications. The stack is one Node process on a small VM, Next.js + Socket.IO, no database. The server and the client use the same engine so moves validate optimistically, and the bots go through the same functions, so bot moves are always legal. State is










