Conversation
|
please remove the dice pool game program from this. since there is already an open PR for it |
|
I check Closed pRS also there is not dice pool like game pr or folder |
|
I have maintained separate branches in my fork because both repositories represent different simple game implementations. Keeping them in different branches helps ensure proper organization, avoids conflicts, and allows independent development and tracking for each game. |
yeah, you are right. that's why i asked to remove |
bug : solve testcases & added readme
|
Works I Closed Dice pool PR |
|
No need to close it. I said remove |
|
Works Review Let me know |
There was a problem hiding this comment.
test cases are failing
(Use `node --trace-warnings ...` to show where the warning was created)
sb-randomness-coinflip
1) "before all" hook for "Initializes player account"
0 passing (5ms)
1 failing
1) sb-randomness-coinflip
"before all" hook for "Initializes player account":
TypeError: Cannot read properties of undefined (reading 'load')
at /Users/arjunc/Documents/solana/solana-programs-list/anchor-coinflip/tests/coinflip.ts:30:39
at Generator.next (<anonymous>)
at /Users/arjunc/Documents/solana/solana-programs-list/anchor-coinflip/tests/coinflip.ts:31:71
at new Promise (<anonymous>)
at __awaiter (tests/coinflip.ts:27:12)
at Context.<anonymous> (tests/coinflip.ts:29:21)
at processImmediate (node:internal/timers:505:21)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
🪙 Coinflip Game (On-chain Randomness)
🚀 Overview
This PR introduces a Coinflip betting game built on Solana using Anchor.
Users place a wager and guess Heads/Tails, and the outcome is determined using verifiable on-chain randomness.
✨ Features
🎲 Randomness
RandomnessAccountDatato fetch verifiable randomness :contentReference[oaicite:0]{index=0}🧪 Gameplay Flow
✅ Outcome