Bullseye is a small iOS game app built while following the Kodeco (formerly Ray Wenderlich) iOS Apprentice / SwiftUI learning track. The goal is to practice SwiftUI fundamentals and iOS testing by building a simple, complete app with a scoring system and unit tests.
- The app generates a random target value
- You move a slider to match the target as closely as possible
- You tap Hit Me to lock in your guess and receive a score
- You can play multiple rounds and track your total score
- Swift
- SwiftUI
- Xcode
- XCTest (Unit Tests)
- SwiftUI view composition
- State management (
@State) - Simple game logic (rounds, scoring, random targets)
- Basic UI styling and app assets
- Unit testing with XCTest (verifying scoring + game rules)
Bullseye/— app source code (SwiftUI views + game logic)BullseyeTests/— unit tests (XCTest)
This project includes unit tests to validate game logic (for example: scoring rules and round resets).
Run tests in Xcode:
- Open the project in Xcode
- Select the BullseyeTests scheme (or keep Bullseye and run tests)
- Press Cmd + U to run tests
Bullseye is a small iOS game app built while following the Kodeco (formerly Ray Wenderlich) iOS Apprentice / SwiftUI learning track. The goal is to practice SwiftUI fundamentals and iOS testing by building a simple, complete app with a scoring system and unit tests.
- The app generates a random target value
- You move a slider to match the target as closely as possible
- You tap Hit Me to lock in your guess and receive a score
- You can play multiple rounds and track your total score
- Swift
- SwiftUI
- Xcode
- XCTest (Unit Tests)
- SwiftUI view composition
- State management (
@State) - Simple game logic (rounds, scoring, random targets)
- Basic UI styling and app assets
- Unit testing with XCTest (verifying scoring + game rules)
Bullseye/— app source code (SwiftUI views + game logic)BullseyeTests/— unit tests (XCTest)
This project includes unit tests to validate game logic (for example: scoring rules and round resets).
Run tests in Xcode:
- Open the project in Xcode
- Select the BullseyeTests scheme (or keep Bullseye and run tests)
- Press Cmd + U to run tests

