JS

BuyMoreDollars

Type: Full-Stack Game App Role: Full-Stack Developer Year: 2025
React PHP MySQL REST API CSS3

Overview

BuyMoreDollars is a prize-based game application combining a React frontend with a PHP backend and MySQL database. Players authenticate, answer skill-based questions, and earn prizes through gameplay mechanics with enforced play limits.

Key Features

  • User authentication with login and registration (API-based auth flow)
  • Skill-based question validation before gameplay
  • Game mechanics with play limits and cooldown periods
  • Prize management system with pending prize tracking
  • Complete play history with detailed game statistics
  • RESTful API architecture with dedicated endpoints for each feature

API Architecture

The backend exposes clean RESTful endpoints including auth_login, auth_register, game_can_play, game_finish, prize_pending, skill_validate, and history_list. Each endpoint handles specific game logic with proper validation and error handling.

What I Learned

This project taught me API design patterns, session management between React and PHP, and how to structure a game's business logic across client and server boundaries. The prize and history systems deepened my understanding of relational database design.