Quantum-Powered Random Number Generation Showcase
Quantimero is a hackathon project that demonstrates various use cases for quantum-seeded entropy as a source of true randomness. This interactive web application showcases how quantum entropy can be applied to different scenarios requiring unpredictable random generation.
This project was developed for a hackathon to explore and demonstrate the practical applications of quantum-based random number generation. Instead of relying on pseudo-random algorithms, Quantimero uses quantum entropy as a seed to generate truly random outcomes across multiple use cases.
- 🎲 Dice Rolling - Generate random dice rolls (1-6) for games and decision making
- 🪙 Coin Flipping - Fair coin tosses for binary decisions (Heads/Tails)
- 🔐 Password Generation - Create secure random passwords using quantum entropy
- 🎯 Winner Selection - Randomly select winners from a list of participants
- 🃏 Playing Cards - Generate random playing cards for card games
- #️⃣ Hash Generation - Create cryptographic hashes using quantum-seeded randomness
- Matrix Animation - Visual feedback during random generation with a Matrix-style animation
- Participant Management - Add/remove participants for winner selection
- Real-time Generation - All random values generated simultaneously with quantum entropy
- Modern UI - Clean, responsive interface showcasing all use cases
- Frontend: React 19
- Styling: CSS3 with modern animations
- Random Generation: Quantum-seeded entropy with SHA256 hashing
- UI Components:
- React Matrix Animation for visual effects
- React Dice Roll for dice animations
- Custom card components for playing cards
- Build Tool: Create React App
- Package Manager: pnpm
- Node.js (v16 or higher)
- pnpm package manager
- Clone the repository:
git clone <repository-url>
cd hack-calimero- Install dependencies:
pnpm install- Start the development server:
pnpm start- Open http://localhost:3000 to view the application
pnpm start- Runs the app in development modepnpm build- Builds the app for productionpnpm test- Launches the test runnerpnpm eject- Ejects from Create React App (one-way operation)
- Quantum Entropy Source: The application uses quantum-based randomness as the initial entropy source
- SHA256 Hashing: The quantum seed is processed through SHA256 to generate a deterministic hash
- Multiple Extractions: Different portions of the hash are used to generate various random outcomes:
- First character (hex) modulo operations for dice and coin
- Hash slices for passwords and participant selection
- Full hash display for cryptographic purposes
Perfect for board games, RPGs, or any scenario requiring fair dice rolls.
Binary decision making with guaranteed fairness using quantum randomness.
Secure password creation using quantum entropy for maximum unpredictability.
Fair participant selection for contests, giveaways, or random assignments.
Random card generation for digital card games and simulations.
Cryptographic hash demonstration showing quantum-seeded randomness.
src/
├── components/ # React components for each use case
│ ├── Card/ # Base card component
│ ├── CardGrid/ # Grid layout for all cards
│ ├── CoinCard/ # Coin flip display
│ ├── DiceCard/ # Dice roll display
│ ├── HashCard/ # Hash generation display
│ ├── PasswordCard/ # Password generation display
│ ├── PlayingCard/ # Playing card display
│ └── WinnerCard/ # Winner selection display
├── hooks/ # Custom React hooks
│ ├── useParticipants.js # Participant management
│ ├── usePlayingCard.js # Playing card logic
│ └── useRandomGeneration.js # Main random generation logic
└── images/ # Project assets
This project was created to demonstrate the practical applications of quantum computing in everyday scenarios. By using quantum entropy as a randomness source, we showcase how quantum technology can enhance security, fairness, and unpredictability in various applications.
- Integration with actual quantum random number generators
- Additional use cases (lottery numbers, team assignments, etc.)
- Historical tracking of generated values
- API endpoints for external applications
- Mobile-responsive improvements
This project was created for hackathon purposes. Please refer to the license file for usage terms.
Quantimero - Where Quantum Meets Random 🎲✨