Skip to content

sailorworks/swift25

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

AR Mastermind

🔥 Classic Mastermind, Reimagined in AR!

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.


🚀 Features

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.


🛠️ Tech Stack

SwiftUI – The UI Powerhouse 🎨

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 – The AR MVP ✨

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.

🎮 How to Play

  1. Launch the app – The game board appears in your space via AR.
  2. Guess the code – Drag and drop colored pegs into the slots.
  3. Submit & Get Feedback – The app will tell you which pegs are correct or misplaced.
  4. Crack the code! – Use logic and deduction to win before time runs out.

📌 Installation & Setup

  1. Download the project source code and open it in Swift Playgrounds on your iPad.
  2. Compile and launch the app.
  3. Dive into the game and start playing!

📜 License

This project is licensed under the MIT License.


This is a project submitted for swift student challenge 2025.

About

this is my swift 25' submission

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages