A responsive, mobile-first "Crash" style arcade game built with React Native (Expo) and a real-time Node.js WebSocket backend.
- Real-time Gameplay: Powered by WebSockets for instant multiplier updates and crash events.
- Responsive Parallax UI: Adaptive flexbox design that scales perfectly across mobile and web screens.
- Advanced Animations: Frame-by-frame sprite sequences, violent camera shake, and smooth mathematical drift using
react-native-reanimated. - Dynamic Event System: Hidden "Easter Egg" characters and sounds trigger dynamically based on real-time multiplier thresholds.
- Game Mechanics: Integrated betting system (1 - 200 limits), live multiplier history tracker, and instant cash-out functionality.
- Frontend: React Native, Expo, React Native Reanimated, Expo AV (Audio)
- Backend: Node.js, WebSockets (
ws) - Database/Auth: Supabase (Ready for integration)
Navigate to the backend directory and install dependencies:
cd arcade-backend
npm install
Create a .env file based on the example and add your Supabase credentials
Start the game server:
Bash
node server.js
(Server runs on port 3000 or 3001 depending on your config)
### 2. Frontend Setup
Open a new terminal, navigate to the mobile directory, and install dependencies:
Bash
cd arcade-mobile
npm install
Start the Expo development server:
Bash
npx expo start