🎲 Lottery Game A fun and interactive lottery game built using React.js. Test your luck by buying tickets and see if you hit the winning combination! The game also includes animations, dynamic ackground changes, and a celebratory sound effect when you win.
🚀 Features Dynamic Ticket Generation: Each ticket is randomly generated. Winning Condition: Match the ticket sum with the winning sum to win. Interactive Background: Randomly changing background colors with every ticket purchase. Winning Animation: A congratulatory message with a celebratory sound effe Responsive Design: Optimized for desktop and mobile devices
🧑💻 Technologies Used React.js: Frontend framework. JavaScript (ES6+): Logic and interactivity. CSS: Styling and animations.
lottery-game/ │ ├── public/ # Static assets │ ├── winning-sound.mp3 # Winning sound effect │ └── index.html │ ├── src/ # Main source code │ ├── components/ │ │ ├── Ticket.jsx # Ticket component │ │ │ ├── helper.js # Helper functions for ticket generation │ ├── App.js # Main application │ └── index.js # React entry point │ ├── .gitignore # Ignored files and folders ├── README.md # Project documentation └── package.json # Project dependencies