posted an update

MYNGO Development Log

Project Overview

Ideation and Prompt Outline Began: June 14,2025 Initial Prompt Created: June 18, 2025 Start Date of this Log: June 20, 2025
Contest Submission: June 24, 2025 Days off: Three due to illness Total Development Time: 8 days active development
Starting Tokens: 17.6M Added Tokens: 65M Final Tokens: 51.8M
Total Tokens Used: ~30.8M tokens over 8 days


Day 1: June 20, 2025

Initial Setup (12:00 - 14:41)

  • 12:00 - Started with 17.6M tokens
  • 12:07 - First shell completed but not operational as expected
  • 12:09 - Reviewed prompt, noticed major omissions
  • 12:10 - Added color specifications and animation requirements
  • 12:14 - Error message appeared, attempted fix
  • 12:18 - Fix completed
  • 12:21 - Bubble design not as expected, provided explicit detail for M-Y-N-G-O balls with numbers
  • 12:28 - Setup SupaBase database per Bolt instructions
  • 12:56 - Realized historical records were missing from prompt

DECISION: Scrapped everything and started over with edited prompt

Second Attempt (14:41 - 00:49)

  • 14:41 - Updated prompt with all missing features, restarted (17.2M tokens)
  • 14:51 - Initial build looked complete
  • 15:09 - Opened GitHub repository, connected to Netlify domain
  • 15:35 - MAJOR ERROR: Host cannot see players, players don't get ball updates
  • 15:39 - Auto-call mode broke the system
  • 16:21 - Multiple fundamental issues:
    • Duplicate players appearing
    • Room close button not working
    • Called numbers not displaying
    • Host not seeing winners or near-winners
  • 16:40 - Removed annoying ball call display
  • 16:47 - Host screen going blank when players join
  • 17:18 - Player-side logic issues addressed
  • 20:00 - DINNER BREAK

Evening Session (20:00 - 00:49)

  • 20:00 - Focused on player dashboard aesthetics
  • 20:09 - Deployed improvements
  • 20:11 - Fixed SupaBase subscription issues
  • 20:20 - White screen issue persisted
  • 20:28 - Responsive design improvements
  • 20:37 - MYNGO button validation issues
  • 21:13 - Background color improvements
  • 21:34 - Removed icons from buttons
  • 22:01 - Host dashboard background fixes
  • 22:04 - Winner detection logic improvements
  • 22:42 - Major formula changes for statistics
  • 22:50 - Added help popup with game instructions
  • 23:14 - Demo mode implementation
  • 23:18 - Removed auto-close timer
  • 23:39 - Demo bots not working properly
  • 00:08 - Host setup page improvements
  • 00:49 - Major corruption in Apps.tsx - ROLLED BACK to working version

Day 2: June 21, 2025

Morning Session (9:10 - 11:11)

  • 9:10 - Connected database, fixed auto mode disable
  • 9:48 - Tips button implementation (10.4M tokens)
  • 10:08 - Host dashboard sound toggle and cancel game features
  • 10:12 - Cancel game popup not working properly
  • 10:23 - Cancel game reasons flickering issue
  • 10:34 - Player card viewing problems
  • 10:41 - Room creation infinite loop fixed
  • 10:46 - Player leave game notifications
  • 11:02 - Host dashboard refresh issues (Netlify 404 errors)
  • 11:06 - Player removal from dashboard inconsistent
  • 11:11 - Added refresh button (didn't work)

Demo Mode Focus (11:23 - 14:58)

  • 11:23 - Demo mode bot behavior implementation
  • 11:24 - Syntax error fixes
  • 11:29 - Bot card highlighting issues
  • 11:40 - Instant marking for demo mode
  • 11:57 - Host dashboard cosmetic improvements
  • 12:09 - Host settings layout improvements
  • 12:55 - Player card scrolling implementation
  • 13:15 - Host disconnect notifications
  • 13:33 - Vertical scrolling issues
  • 14:02 - Player notifications stopped working
  • 14:58 - Major SupaBase logic updates and infinite loop fixes

Evening Polish (15:12 - 22:00)

  • 15:12 - White screen finally fixed
  • 15:33 - Player list scrolling improvements
  • 16:00 - History and cleanup logic implementation
  • 16:22 - Game completion vs cancellation logic
  • 17:10 - DINNER BREAK
  • 17:24 - Game logic debugging
  • 18:51 - Date handling fixes for history
  • 19:13 - Player tracking improvements
  • 19:34 - Peak player count calculations
  • 20:25 - Added more tokens - Duplicate number calling fix
  • 21:24 - Real-time presence implementation attempts
  • 22:00 - SLEEP - Major presence detection issues

Day 3: June 22, 2025

Morning Debugging (7:45 - 15:51)

  • 7:45 - Deployed for testing (67.1M tokens)
  • 7:55 - White screen on player join
  • 8:22 - SupaBase Presence feature implementation
  • 8:38 - Added extensive console logging for troubleshooting
  • 10:10 - Game history timing and accuracy issues
  • 11:04 - Host disconnection detection improvements
  • 14:09 - Multiple deployment and testing cycles
  • 15:51 - Player tracking and graceful exit testing

Database Cleanup (16:08 - 22:37)

  • 16:25 - Database cleanup after game completion
  • 17:16 - Manual fixes with Claude assistance
  • 17:50 - Call number scroll improvements
  • 18:21 - Host presence detection issues
  • 19:29 - Hybrid solution implementation
  • 20:57 - Auto-call settings restoration
  • 21:55 - Major auto-call functionality changes
  • 22:37 - SLEEP - Multiple critical issues remaining

Day 4: June 23, 2025

MVP Focus (7:48 - 18:49)

  • 7:48 - DECISION: Scale back to MVP, disable problematic features
  • 8:08 - Host auto-cancel manually disabled
  • 8:42 - Host presence partial implementation
  • 9:15 - Player join issues and demo fixes
  • 9:56 - Game statistics and winner banner improvements
  • 10:26 - Duplicate game history fixes
  • 10:45 - Winner banner display timing
  • 11:53 - LUNCH BREAK
  • 12:48 - Database cleanup improvements
  • 13:30 - Winner display issues
  • 14:48 - Player statistics fixes
  • 16:44 - Auto mode restoration
  • 17:34 - Status and notification fixes
  • 18:49 - Final deployment preparation

Final Testing & Documentation (18:49 - 00:29)

  • 18:49 - Peak stats commenting out
  • 20:19 - Technical documentation creation
  • 22:59 - Room closure function fixes
  • 23:26 - Auto-call synchronization

- 00:29 - FINAL VERSION - Exit button removal from host

Major Issues Encountered

Critical Problems Solved

  1. SupaBase Real-time Sync - Players and hosts not seeing updates
  2. Demo Mode Implementation - Bot players not behaving correctly
  3. Winner Detection Logic - MYNGO button timing and validation
  4. Database Cleanup - Game history and player tracking
  5. Responsive Design - Mobile and desktop compatibility
  6. White Screen Errors - Multiple component rendering issues

Ongoing Challenges

  1. Player Disconnect Detection - Browser close/back button handling
  2. Host Presence Monitoring - Automatic game cancellation
  3. Real-time Synchronization - State management across clients
  4. Database Optimization - Cleanup and performance

Key Features Implemented

Host Features

  • ✅ Room creation with capacity limits
  • ✅ Auto-call with configurable timing
  • ✅ Manual number calling
  • ✅ Player card viewing
  • ✅ Game statistics and history
  • ✅ Demo mode with bot players
  • ✅ Winner detection and validation
  • ✅ Room management (open/close)

Player Features

  • ✅ Easy room joining with codes
  • ✅ Interactive MYNGO cards
  • ✅ Called number history
  • ✅ Winner celebrations
  • ✅ Mobile responsive design
  • ✅ Connection status indicators
  • ✅ Graceful game exit

Technical Achievements

  • ✅ Real-time multiplayer synchronization
  • ✅ SupaBase database integration
  • ✅ Netlify deployment with custom domain
  • ✅ Professional UI with glassmorphism design
  • ✅ Cross-browser compatibility
  • ✅ Mobile-first responsive design

Development Insights

What Worked Well

  • Comprehensive Prompting - Detailed initial prompt saved time
  • Iterative Testing - Continuous deployment and testing cycles
  • Database Integration - SupaBase real-time features
  • UI Polish - Glassmorphism design system
  • Claude Assistance - Problem-solving and debugging help

Major Challenges

  • Feature Creep - Bolt adding unintended functionality
  • State Management - Complex real-time synchronization
  • Error Loops - Bolt getting stuck on same issues
  • Token Management - High consumption during debugging
  • Presence Detection - Browser disconnect handling

Lessons Learned

  1. Front-load planning - Comprehensive prompts prevent rework
  2. MVP mindset - Focus on core functionality first
  3. Testing cycles - Frequent deployment prevents major issues
  4. Documentation - Track changes and decisions
  5. AI tool switching - Know when to use Bolt vs Claude
  6. Token awareness - Monitor usage during development

Final Statistics

  • Total Development Time: 4 days
  • Token Usage: ~14.2M tokens
  • Deployment Versions: 115 ZIP files
  • Major Rewrites: 2 complete restarts
  • Database Tables: 4 (games, players, called_numbers, game_history)
  • Core Features: 100% MVP functionality complete
  • Advanced Features: 80% complete (presence detection pending)

Production Status

✅ DEPLOYED: MYNGO.ai - Fully functional multiplayer BINGO platform
✅ TESTED: Cross-browser, mobile responsive, real-time sync
✅ READY: Hackathon demo and live user testing

6/24/2025 Final note to self after Video Creation Not broken ( just a reminder): Change auto call length to 120s on the slider Start Host Sound Off: Host does not need sound on during presentation

Log in or sign up for Devpost to join the conversation.