Mobile-first web app for generating PCSO 2D lotto combinations with intelligent buffer system
๐ Live Demo โข ๐ Documentation โข ๐ Report Bug โข โจ Request Feature
| Feature | Description |
|---|---|
| ๐ฏ PCSO 2D Range | Official Philippine lotto numbers (0-31) |
| ๐ข Smart Buffer System | Generate ยฑ1 or ยฑ2 number variations automatically |
| ๐ฒ Rambolito Mode | Position-independent winning (7-26 = 26-7) |
| ๐ฐ Live Cost Tracker | Real-time bet calculation (โฑ20/combo) |
| โ Unlimited Combos | Add as many combinations as you need |
| ๐ Export Tools | Copy to clipboard or download as .txt |
| ๐ฑ Mobile-First UI | Responsive design with dark mode theme |
| โก Client-Side Only | No backend needed, runs in your browser |
๐ Launch App
No installation needed! Use it directly in your browser.
# Clone repository
git clone https://github.com/warengonzaga/pcso-2d-lotto-generator.git
cd pcso-2d-lotto-generator
# Install dependencies
npm install
# Start development server
npm start
# Open browser at http://localhost:3000The buffer generates nearby number variations:
| Buffer | Output Example (for number 15) |
|---|---|
| 0 | 15 (exact only) |
| 1 | 14, 15, 16 (ยฑ1 variation) |
| 2 | 13, 14, 15, 16, 17 (ยฑ2 variations) |
| Rambolito | Buffer | Result |
|---|---|---|
| โ Enabled | Any | Position-independent (7-26 = 26-7) |
| โ Disabled | 0 | Exact position only (7-26 โ 26-7) |
| โ Disabled | โฅ1 | Generates both positions + buffered variations |
07 26 20 R
โ โ โ โโ Rambolito flag (if enabled)
โ โ โโโโโ Bet amount (โฑ20)
โ โโโโโโโโ Second number
โโโโโโโโโโโ First number
- Enter Numbers - Input your two lucky numbers (0-31)
- Set Bet Amount - Configure cost per combination (default: โฑ20)
- Choose Buffer - Select 0, 1, or 2 for variation range
- Toggle Rambolito - Enable/disable position-independent mode
- Add More - Click "Add Combination" for additional sets
- Generate - Hit "Generate Numbers" to create combinations
- Export - Copy to clipboard or download as text file
๐ก Pro Tip: Use Buffer 1-2 with Rambolito disabled to maximize coverage while managing costs.
| Layer | Technology |
|---|---|
| Frontend | Vanilla JavaScript, HTML5, CSS3 |
| Backend | Node.js + Express |
| Styling | Dark mode with neon purple aesthetic |
| Hosting | GitHub Pages (static) |
| Philosophy | No frameworks, pure web fundamentals |
๐ Project Structure
pcso-2d-lotto-generator/
โโโ public/
โ โโโ css/
โ โ โโโ style.css # Dark theme styles
โ โโโ js/
โ โ โโโ generator.js # Core buffer logic
โ โ โโโ app.js # UI interactions
โ โโโ index.html # Main HTML
โโโ server.js # Express server
โโโ AGENTS.md # AI agent instructions
โโโ package.json
Contributions are welcome! This project follows the Clean Commit Convention by @wgtechlabs.
| Emoji | Type | Example |
|---|---|---|
| ๐ฆ | new |
๐ฆ new: add export to CSV feature |
| ๐ง | update |
๐ง update: improve buffer calculation |
| ๐๏ธ | remove |
๐๏ธ remove: unused lodash dependency |
| ๐ | security |
๐ security: patch XSS vulnerability |
| ๐งช | test |
๐งช test: add buffer edge cases |
| ๐ | docs |
๐ docs: update readme examples |
See AGENTS.md for complete guidelines and all 9 commit types.
# 1. Fork and clone
git clone https://github.com/YOUR_USERNAME/pcso-2d-lotto-generator.git
# 2. Create feature branch
git checkout -b feature/amazing-feature
# 3. Make changes and commit
git commit -m '๐ฆ new: add amazing feature'
# 4. Push and create PR
git push origin feature/amazing-featureBefore submitting:
- โ Test on mobile (375px width minimum)
- โ Verify buffer logic with edge cases
- โ Check cost calculations
- โ Follow clean-commit convention
GNU General Public License v3.0 - see LICENSE file for details.
Waren Gonzaga
- ๐ Website: warengonzaga.com
- ๐ผ GitHub: @warengonzaga
This tool is for entertainment and convenience purposes only. Please play responsibly.
- The author is not responsible for any losses incurred from using this application
- Gambling can be addictive - seek help if needed
- This is not affiliated with or endorsed by PCSO
If you find this project helpful:
- โญ Star this repository
- ๐ Share with fellow lotto players
- ๐ Report issues
- ๐ก Suggest features
- ๐ค Contribute improvements
Made with โค๏ธ for Filipino lotto players