Overview
The goal was to reduce repetitive manual result checks for individual lottery tickets.
My contributions
Solo project · Planning, iPadOS UI, QR scanning and result evaluation
Built the landscape iPad camera, instructions and result UI with SwiftUI
Scanned QR codes using AVFoundation
Parsed draw and game numbers from lottery QR URLs
Retrieved winning numbers through the official lottery API and evaluated prize tiers
Displayed results in a timed popup and reset for the next scan
Approach
The camera scans a ticket's QR code, parses its URL, requests the draw's winning numbers from the official lottery API, and computes the prize tier. A result message appears briefly before the next scan.
Implementation and challenges
Parsed the QR URL format, validated API responses, and evaluated number matches. The workflow was not verified through real shop operations.
Key features
- QR scanning and draw/number extraction
- Winning-number lookup by draw
- Per-game win and prize-tier detection
- Timed result display and repeat scanning
Technology
Development approach
Used AI coding assistance while planning and implementing the personal app.
