How graysonhuey/binary-bingo works
Project type and purpose
• This is a client-side single-page application (SPA) built with React.
• Purpose: A “Binary Bingo” game where the app randomly generates binary numbers (1–75), converts them to base-10, and lets users mark them on a bingo card. It teaches binary conversion in a playful way.
File structure
• Top-level:
• package.json / package-lock.json – project dependencies and scripts
• README.md, LICENSE – documentation
• public/ – static assets (index.html, manifest.json, robots.txt)
• src/ – all React source code
• src/ contains:
• index.js + index.css – application entry point
• App.js + App.css – root component and global styles
• LocalStorageContext.js – React Context provider to persist and share “called numbers” using browser localStorage
• BingoComponent/ – the bingo card UI and marking logic
• NumberHistoryComponent/ – displays list of called numbers
• TimerComponent/ – handles the “Generate” timer or countdown (if used)
• reportWebVitals.js – performance measuring (optional)
README for additional insights
• No separate backend or external API; game logic and state live entirely in the client.
• Use cases: generate binary numbers, convert to decimal, record history, reset history.