This AR game takes the classic Mastermind puzzle and gives it a MAJOR glow-up! Imagine playing with a game board that feels like it's actually sitting in your room – it's like having the game come to life right in front of you.
✅ Augmented Reality Gameplay – Play Mastermind in your real-world space using AR technology.
✅ Interactive 3D Board – Move, place, and interact with game pieces seamlessly.
✅ Sleek & Responsive UI – Smooth animations, intuitive controls, and engaging feedback.
✅ Optimized for iPadOS – Built for an immersive experience on Apple's latest AR-ready devices.
SwiftUI handles all the visible elements in the game:
- Dynamic UI updates – Using
@State
,@StateObject
, and@Published
for seamless changes. - Timers & Alerts – Countdown animations and pop-up messages for feedback.
- Modern, efficient design – Clean UI that just works.
RealityKit powers all the AR interactions:
- Anchored game board – The board stays fixed in the real world, not just floating randomly.
- Intuitive interactions – Tap and move game pieces with ease.
- High-quality rendering – Crisp visuals for an ultra-realistic experience.
- Seamless tracking – Keeps track of all game pieces and their positions.
- Launch the app – The game board appears in your space via AR.
- Guess the code – Drag and drop colored pegs into the slots.
- Submit & Get Feedback – The app will tell you which pegs are correct or misplaced.
- Crack the code! – Use logic and deduction to win before time runs out.
- Download the project source code and open it in Swift Playgrounds on your iPad.
- Compile and launch the app.
- Dive into the game and start playing!
This project is licensed under the MIT License.