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.