🚀Chindege Crash Game - Unity Prototype >

 **Note:** This Unity version served as a proof of concept for a production  React.js crash game to be released for the Zimbabwean betting market. It demonstrates the complete game architecture, mechanics, and backend integration that informed the final product.

TEST USER LOGIN DETAILS - 

Phone Number: 0772211190

Password: Luga1234 


 🎮 About

A real-time multiplayer betting game where timing is everything. Watch the multiplier soar as a plane flies across the screen—cash out before it crashes to multiply your bet! 

✨ Features

Gameplay

 - Real-time multiplier system with smooth animations 

- Visual airplane mechanic tied directly to multiplier progression 

- Instant feedback on wins/losses 

- Live game history showing recent crash points

Wallet System

 - Deposit and withdrawal functionality 

- Real-time balance tracking 

- Comprehensive P&L (Profit/Loss) analytics over time

 - Transaction history with timestamps

Fair Play 

- Provably fair RNG using cryptographic hash keys

 - Mathematically balanced 2% house edge 

- Transparent probability system 

Full Game Pages 

- Main gameplay interface 

- Wallet management 

- Transaction history (deposits/withdrawals)

 - Game history (wins/losses with multipliers)

 🛠️ Technical Architecture

Frontend (Unity)

- C# scripting for all game logic 

- Canvas-based UI with panel navigation system 

- Service-oriented architecture:

   - Multiplier History Service 

  - Wallet Service 

  - Sound Manager 

  - Game Mechanics Manager (handles plane animation and multiplier sync) 

Backend (ASP.NET Core)

- RESTful API architecture 

- Polling-based real-time updates (chosen over SignalR/WebSockets for reliability)

 - Hash-based provably fair system

 - Complete transaction processing

 Why Polling Over WebSockets? 

After initial experiments with SignalR and unity, I opted for optimized polling to ensure reliable real-time updates without the complexity of maintaining WebSocket connections. Sometimes simplicity and reliability trump cutting-edge tech!

 📊 Development Process

 This project followed an interesting three-phase approach:

 1. AI-Assisted Prototyping - Used AI to rapidly explore game mechanics and validate the concept before development

 2. Unity Proof of Concept- Built this fully functional version to test architecture and game balance 

3. React Production - Currently translating this proven architecture into a production-ready web application 

The Unity version proved invaluable for:

 - Testing the 2% house edge probability calculations

 - Validating the polling architecture's performance 

- Designing the service layer that would carry over to production

 - Identifying UX patterns that create the right tension and excitement 

🎯 Skills Demonstrated

 - Game Mathematics: Probability theory, house edge calculation, fair RNG

 - Backend Development: ASP.NET Core, RESTful API design, data persistence

 - Frontend Architecture: Service pattern, state management, UI flow design

 - Problem Solving: Pivoting from WebSockets to polling when faced with technical challenges

 - Iterative Development: Prototype-first approach to de-risk production builds 

- Cross-Platform Thinking: Designing architecture that translates from Unity to React

 🔮 What's Next

The React.js production version is currently in development, leveraging all the architectural decisions and game balance tuning proven in this Unity prototype.

Published 20 days ago
StatusPrototype
PlatformsHTML5
AuthorMelu Gula-Ndebele
Made withUnity