Skip to main content

Examples

Live examples are hosted by the Expo showcase app at showcase.cetacea.city. These embeds are useful for docs review and browser smoke checks. Native release builds remain the source of truth for gestures, haptics, Skia performance, and screen-reader behavior.

Backend-resolved scratch ticket

Backend-resolved scratch ticketExpo showcase web preview. Open directly if the embed is blocked by your browser.Open example
<ScratchTicket
resolveOutcome={(context) => api.reserveReward(context.interactionId)}
game={{ type: "number-match", winningNumbers, yourNumbers }}
layout={{ title: "luxy cash", topPrizeLabel: "WIN $20 OFF" }}
cover="premium"
scratcher
/>

Backend-resolved slot machine

Backend-resolved slot machineDeterministic stops with resolver latency and premium effects.Open example
<SlotMachine
resolveOutcome={(context) => api.reserveSpinReward(context.interactionId)}
symbols={slotSymbols}
effects={{ glass: true, paylineGlow: { color: "#FDE68A" }, motionBlur: true }}
/>

Local odds examples

Use local odds examples for demos and internal review only. Do not present client-side weighted randomness as fair, tamper-proof, gambling-compliant, fraud-resistant, or audit-ready.