In-House Games — Technical Documentation

This section provides a complete technical overview of DropBet’s in-house games. These custom-built games are fully integrated with the platform’s wallet, fairness systems, admin panel, and user account logic.

1. Overview

DropBet features 9 internally developed games, live in production:

Each game is designed for instant interaction, transparency, and platform-native integration. All games support provably fair mechanics, real-money wagering, and centralized logging.

2. Architecture Overview

2.1 Backend Architecture

Each in-house game is implemented as a fully modular NestJS module.

2.2 Frontend Architecture

2.3 Communication

3. Provably Fair System

DropBet's fairness system is fully transparent and user-verifiable.

3.1 Server Seed Management

Each user has a dedicated fairness seed set stored in user_fairness_seeds:

Once a server seed is used, it's archived in user_inactive_fairness_seeds.

3.2 Client Seed

The client seed is user-configurable.

When updated:

3.3 Verification

Every game round includes:

After each round, users can verify the fairness via the My Bets interface.

4. Gameplay & Mechanics

4.1 Wagering

4.2 Bet Isolation & Duplicate Prevention

4.3 Session Resilience

For games with state or progression, the frontend can request current state to restore gameplay after a disconnect or reload.

4.4 Multi-Tab Support

Users can play multiple games in separate tabs without restriction.

5. Database Schema (Bet Model)

Each in-house bet record stores the following:

Identifiers:

Financials:

Status:

Metadata:

6. Admin Tools

Admins can:

7. Logging & My Bets

All game rounds are saved to bet history.

Users can view:

Admins have full access to:

Monkey Run

1. Game Overview

Description: Monkey Run is a progressive obstacle-avoidance game where the player guides the monkey across multiple lanes, each containing a hidden risk, a car.

Objective: Move the monkey forward by selecting lanes, aiming to reach the highest possible multiplier without hitting an obstacle.

2. Game Flow

3. Betting Rules

4. Game Logic & Outcomes

5. Payout Structure

Payout = Bet Amount × Multiplier at the time of cash out.

Multipliers increase incrementally with each safe step based on chosen risk level:

6. Special Features

7. Fairness & Compliance

Limbo

1. Game Overview

Description: Limbo is a fast-paced, single-click multiplier game where players choose a target multiplier and attempt to hit or exceed it.

Objective: Predict a multiplier that will be reached in the round. If the multiplier is reached or exceeded, the player wins.

2. Game Flow

3. Betting Rules

4. Game Logic & Outcomes

5. Payout Structure

Payout = Bet Amount × Target Multiplier (if won), otherwise zero.

6. Special Features

7. Fairness & Compliance

Keno

1. Game Overview

Description: Keno is a lottery-style game where players select numbers and hope they match drawn numbers.

Objective: Select a set of numbers and win based on how many are matched.

2. Game Flow

3. Betting Rules

4. Game Logic & Outcomes

5. Payout Structure

Payout calculated based on matched numbers and bet amount using defined payout tables.

6. Special Features

7. Fairness & Compliance

Plinko

1. Game Overview

Description: Plinko is a pegboard game where a ball drops through a grid of pegs to land in a multiplier slot at the bottom.

Objective: Drop the ball and win based on the multiplier slot it lands in.

2. Game Flow

3. Betting Rules

4. Game Logic & Outcomes

5. Payout Structure

Payout = Bet Amount × Multiplier of landing slot.

6. Special Features

7. Fairness & Compliance

Roulette

1. Game Objective

The goal is to correctly predict where the ball will land on the roulette wheel after it is spun. Players can bet on individual numbers, combinations, or broader outcomes such as color, odd/even, or high/low numbers.

2. Core Gameplay

3. Spin & Outcome

4. Interface Elements

5. Fairness & Compliance

Speed Roulette

1. Overview

Speed Roulette is a quick, timer-based version of roulette using a spinning reel of colored tiles with payout multipliers instead of numbers.

2. Core Gameplay

3. UI Elements

4. Rules

5. RTP & Monetization

Mines

1. Game Overview

Mines is a tile-based risk game where players uncover safe gems while avoiding mines. Each safe tile increases the payout multiplier, but hitting a mine ends the game with no payout.

2. Core Gameplay

3. Controls

4. Payout Logic

Blackjack

1. Game Objective

Beat the dealer by getting a hand total closer to 21 without going over.

2. Game Modes

3. Actions

4. Payouts

5. RTP

Dice

1. Game Objective

Predict whether the rolled number (0–100) will be above or below a chosen target. Player controls win probability via a slider.

2. Features

3. Payout Formula

Multiplier = (100 / Chance) × (1 − House Edge)

House edge: ~1%

4. RTP