This is an interactive lottery game where users can test their luck by selecting numbers and spinning the wheel. The game is built with HTML, CSS, and JavaScript, featuring dynamic gameplay and real-time results.
Demo : https://chimerical-crepe-7b96f3.netlify.app/
- Number Selection: Users can choose their lucky numbers.
- Random Number Generation: The game generates random winning numbers.
- Interactive Gameplay: Spin the wheel and see if your numbers match the winning combination.
- Responsive Design: Ensures compatibility across devices (desktop, tablet, mobile).
- API Integration: Fetches additional data (e.g., jackpot amounts or user statistics) from external APIs.
- HTML: For structuring the webpage.
- CSS: For styling and animations.
- JavaScript: For game logic and DOM manipulation.
- API Integration: Enhances the game with real-time data.
- Clone the repository:
https://github.com/Shivananda8051/Lottery.git cd lottery-game - Open the
index.htmlfile in your browser to play the game. - If using an API, obtain an API key and replace
YOUR_API_KEYin the JavaScript file.
- Add a leaderboard to display top winners.
- Implement a reward system for frequent players.
- Include animated effects for a more engaging experience.
This project is open-source and free to use.