Files
text-to-cards/README.md
2025-08-02 05:17:20 +08:00

13 lines
683 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# text-to-card
靈感來自 [DeckCrypt](https://github.com/ashfn/deckcrypt),它可以把一串文字用 52 張撲克牌排列的方式編碼,也可以解碼。但 DeckCrypt 只能處理英文字(連數字都不行),所以我重做了 UTF-16 的版本,應該支援大部分的中文字和表情符號。
使用方式:
- **編碼**輸入一個字串14 個字元以內),程式會輸出 52 張撲克牌的排列。
- **解碼**:輸入 52 張撲克牌的排列例如As 3d Th 8c……程式會轉成字串。
透過這個程式,你可以把祕密訊息藏在一副撲克牌裡面了!
到這裡直接用https://wiwi.blog/blog/text-to-cards