DAMII Platform System Architecture & Regulatory Review Specification
Exhaustive operational disclosure, deterministic rules engine verification, double-entry escrow ledger mechanics, multi-factor authentication (TOTP/WebAuthn), and statutory game-of-skill classification.
Zero RNG, zero hidden cards, deterministic perfect-information intellectual sport.
Segregated Account, Escrow & Fee Funds with mathematical debit/credit invariance.
Bank of Ghana licensed PSP; MTN, Telecel, and AT Ghana Mobile Money support.
RFC 6238 TOTP, FIDO2 biometric passkeys, SMS OTP, and hashed recovery codes.
Under Ghanaian and international gaming statutes, a lottery or game of chance is characterized by the presence of a randomizing instrument that determines the outcome irrespective of participant agency.
- Total Elimination of Random Number Generation (RNG): DAMII employs zero RNG in board setup, piece movement, or match outcomes. The board configuration is 100% identical and standardized at the start of every game.
- Game of Perfect Information: Both contenders have full visibility over the entirety of the 100 squares at all moments. There is zero concealed data, hidden hands, or probability tables.
- Causality of Victory: The victor is determined exclusively through mental acuity, tactical combinations (compulsory multi-jump sequences), king row positional control, and turn clock management.
- Escrow Custody Model: Entry fees and match stakes do not pool into house gambling funds; they are held strictly in an impartial custodial escrow ledger and released automatically to the proven victor, less an administrative facilitation fee.
To prevent client-side script injection, state tampering, or cheating, the entire rules validation loop is strictly enforced on the server within lib/damii-rules.ts:
Financial trust is guaranteed via an invariant double-entry accounting engine implemented in lib/ledger-service.ts. Every financial transition creates equal and opposite debit and credit postings:
| Lifecycle Stage | Debit Account | Credit Account | Invariant Guarantee |
|---|---|---|---|
| Wager Lock | Player Available (-GHS 50.00) | Player Escrow (+GHS 50.00) | Net change = 0.00 GHS |
| Match Settlement | Escrow Accounts (-GHS 100.00) | Winner (+GHS 95.00) / House (+GHS 5.00) | 100% balanced payout |
| Draw / Void Match | Escrow Accounts (-GHS 100.00) | Players 100% Refund (+GHS 100.00) | Zero house fee realized |
To protect players and comply with the Data Protection Act (Act 843) and Bank of Ghana guidelines:
Implements RFC 6238 TOTP with private vector QR code generation, FIDO2/WebAuthn biometric passkeys, SMS OTP for password reset, and hashed single-use recovery codes.
Deposited funds cannot be remitted to unverified third parties. All withdrawals require carrier-matched Ghana Mobile Money verification with dual-tier administrative approval on large amounts.
Certified arbiters and tournament directors possess dedicated administrative consoles enabling:
- Square-by-square board state inspection at any move in history.
- Timestamped PDN (Portable Draughts Notation) logs with millisecond resolution.
- Complete in-match player communication logs.
- Binding administrative actions: Award Victory, Declare Tie, or Void Match with full 100% escrow refund.
/SYSTEM_ARCHITECTURE_AND_REGULATORY_REVIEW.md