Laravel Ludo Tournamet website Wallet & Game History Fix

Замовник: AI | Опубліковано: 25.01.2026

My Ludo tournament platform is built on PHP / Laravel and is live with real players, yet several game-critical bugs are spoiling the experience. What is going wrong • Game history isn’t saving at all once a battle ends, so users cannot review past matches or results. • The wallet balance fails to refresh after each battle, which in turn affects payouts, “I won / I lost” status messages, and ongoing dispute checks. • Battle commission is misbehaving: automatic calculations are off, the rate itself needs verifying, and whatever is taken isn’t being shown back to the player in their history. What I need from you 1. Track down and patch the history-saving logic so every finished battle, result, stake and timestamp is stored and retrievable. 2. Repair the wallet update routine so deposits, winnings, losses and refunds hit the correct tables instantly and accurately. 3. Re-engineer the commission module to calculate the right percentage, apply it only once, and echo the deduction transparently in the user’s history record. 4. Make sure dispute handling recognises the final outcome after your fixes and resolves correctly. 5. If a cleaner, more maintainable approach presents itself while you are in the code, feel free to suggest and—once agreed—add it. Tech stack in play: PHP, Laravel, MySQL, JavaScript. You’ll work directly in a Git branch, push commits for review, and deliver a concise changelog so I can follow every modification. Acceptance criteria • Replayed battles consistently appear in the user’s “Game History” screen. • Wallet balance is identical between UI and database after any battle scenario. • Commission deducted equals the configured rate and is shown in the same history entry. • A simulated win, loss and dispute flow passes without manual intervention. If you have fixed similar real-time wallet or tournament issues before, let me know—otherwise just dive in and show me a working demo on your dev instance before we push to production.