@zktable/coup-lite 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +39 -0
  3. package/package.json +9 -4
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 zkTable contributors
3
+ Copyright (c) 2026 freedanjeremiah
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # @zktable/coup-lite
2
+
3
+ **Coup-lite** — hidden 2-card hands, public claims, and prove-hold-or-bluff
4
+ challenges. The zkTable `deck` module showcase: `card_membership` proves in zero
5
+ knowledge that a claimed card really is in a player's committed hand, without
6
+ revealing the hand.
7
+
8
+ Part of [zkTable](https://github.com/freedanjeremiah/zktable) — a TypeScript
9
+ SDK for building trustless, privacy-preserving board games on Stellar.
10
+
11
+ ## Install
12
+
13
+ ```bash
14
+ npm install @zktable/coup-lite @zktable/core
15
+ ```
16
+
17
+ ## What's inside
18
+
19
+ - The `defineGame` definition for Coup-lite (the `deck` + `sealed` primitives),
20
+ its AI strategies, and a headless testnet runner.
21
+ - The referee contract natively supports 2–4 players; the shipped on-chain demo
22
+ runs 2-player.
23
+
24
+ > v1 note: the deal is a semi-honest committed deal, not full mental-poker.
25
+ > `card_membership` is real ZK; the shuffle itself is trusted in v1. See the
26
+ > repo's limitations section.
27
+
28
+ ## Play it on live testnet
29
+
30
+ ```bash
31
+ COUP_TESTNET=1 pnpm --filter @zktable/coup-lite play
32
+ ```
33
+
34
+ Deploys a fresh verifier + referee to Stellar testnet, plays a real game (real
35
+ proofs, real transactions), and prints a full move-by-move transcript.
36
+
37
+ ## License
38
+
39
+ MIT — see [LICENSE](https://github.com/freedanjeremiah/zktable/blob/main/LICENSE).
package/package.json CHANGED
@@ -1,14 +1,18 @@
1
1
  {
2
2
  "name": "@zktable/coup-lite",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Coup-lite: hidden 2-card hands + public claims + prove-hold-or-bluff challenges, the zkTable `deck` module showcase (defineGame + real ZK-verified card_membership proofs)",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git+https://github.com/Philotheephilix/zkTable.git",
9
+ "url": "git+https://github.com/freedanjeremiah/zktable.git",
10
10
  "directory": "games/coup-lite"
11
11
  },
12
+ "homepage": "https://github.com/freedanjeremiah/zktable#readme",
13
+ "bugs": {
14
+ "url": "https://github.com/freedanjeremiah/zktable/issues"
15
+ },
12
16
  "publishConfig": {
13
17
  "access": "public"
14
18
  },
@@ -23,10 +27,11 @@
23
27
  }
24
28
  },
25
29
  "files": [
26
- "dist"
30
+ "dist",
31
+ "README.md"
27
32
  ],
28
33
  "dependencies": {
29
- "@zktable/core": "0.1.0"
34
+ "@zktable/core": "0.1.1"
30
35
  },
31
36
  "devDependencies": {
32
37
  "tsx": "^4.19.2"