尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Twisted Tales is a social mystery card game of lateral thinking where players work together like detectives to reconstruct bizarre, macabre, or seemingly impossible situations.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Twisted Tales is a social mystery card game of lateral thinking where players work together like detectives to reconstruct bizarre, macabre, or seemingly impossible situations.
New to the game? See How to Play.
Want to add or change cards? See Adding and Editing Cards.
This repository contains a small web prototype that shows one card at a time, in English or Spanish. The UI is designed mobile first, for players using a phone.
Requirements: Go 1.22 or newer.
go run .
Then open http://localhost:8080. To use another port, set the PORT environment variable:
PORT=3000 go run .
Cards are embedded into the binary, so restart the server after adding or editing a card.
net/http, html/template, embed, encoding/json), no external dependencies.resources/, named xxx-smalltitle-LANG.json (e.g. 001-glass-of-water-EN.json), with title, prompt and solution fields. Every card must exist in every language (EN and ES).templates/card.html. A small inline script (no libraries) makes Back, Next and Show/Hide solution fetch the card as JSON from GET /api/cards/{n}?solution=1 and update only the card instead of reloading the page; without JavaScript they are ordinary links.Secure when served over https, and still work on plain http://localhost.go test ./... # unit and HTTP route tests
go vet ./... # static checks
gofmt -l . # lists files that need formatting (no output means all good)
The tests cover card loading (ordering, language suffixes, EN/ES parity and error cases), page navigation, and the HTTP routes (redirect, 404s, solution hidden by default, language switch, help section, saved language and card cookies). Because they load the real files in resources/, adding a card without its translation makes them fail.
For a quick visual check, run go run . and open http://localhost:8080.
Many of the cards were adapted from yesnogame.net, which publishes these situation puzzles in several languages. Where a puzzle was available in only one language there, the other language is our own translation. Thanks to the authors and community behind that site.