Skip to content

KusalPriyanka/codebreaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

28 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“± CodeBreaker

πŸ“– Introduction

CodeBreaker is an iOS app I built from scratch as part of my learning journey through Stanford's CS193p β€” Developing Apps for iOS (Spring 2025) course. The project explores core concepts like declarative UIs with SwiftUI, data flow and state management, animations, and data persistence with SwiftData.

Swift iOS SwiftUI License

Game Overview: CodeBreaker is a code-breaking puzzle game inspired by the classic Mastermind board game. Instead of jumping straight into gameplay, players can first customize their experienceβ€”choosing difficulty, colors, and game modes. Once ready, they attempt to guess a secret sequence of colored pegs. After each guess, feedback pins indicate proximity to the solution, helping players progressively narrow down the correct combination.


πŸ“Έ Screenshots

Game List Game Play Game Editor

πŸŽ“ Key Learnings

  • 🧱 SwiftUI Fundamentals
  • πŸ” State Management
  • πŸ“ Layout System
  • 🎨 Animation & Transitions
  • ⏱️ Swift Protocols
  • πŸ“‹ Navigation
  • πŸ“± Adaptive Layouts
  • ✏️ Forms
  • πŸ’Ύ SwiftData
  • 🧡 Concurrency
  • 🎯 Custom Shapes & Gestures
  • πŸ”§ Alternative Persistence Data

πŸš€ How to Run

  1. Clone the repository

    git clone https://github.com/KusalPriyanka/codebreaker.git
    cd codebreaker
  2. Open in Xcode

    open codebreaker.xcodeproj
  3. Select a simulator or device in the Xcode toolbar

  4. Press ⌘ + R to build and run

Requirements: Xcode 26+, iOS 26.0+ simulator or device

About

CodeBreaker is an iOS learning project built to practice SwiftUI development and core app architecture concepts while following the Stanford CS193p - Developing Apps for iOS (2025) course.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages