Getting Started with AI-Augmented Coding in iOS

Oct 11 2026 · Swift 6, iOS 27, Xcode 27 beta 4

Lesson 02: Building on the Guessing Game

Demo: Using Xcode to Implement Streak Mode

Episode complete

Play next episode

Next

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

Welcome to the second demo of this lesson. In this demo, you’ll implement the first missing feature of the game, the streak mode. There’s some information on how the streak mode works, which basically, very similar to the classic mode, but the game ends when you do the first mistake. Scoring is the same, the game almost works the same. Only difference is, it doesn’t give you the screen, or it doesn’t show the screen for the next hint if you make a mistake. The game ends directly, and you get the final score.

The app is missing the implementation of the streak mode. Implement the feature considering the description of this game mode. Streak mode: User takes the risk and continues to play to the next round. The risk is, a wrong guess ends the game instantly, even if clues remain. For the standard user, a wrong guess is nearly free, you just see the next clue. In streak mode, every guess is a real gamble. I'm 80% sure it's Chile, but is 80% enough to bet the whole run?
The app is missing the implementation of the streak mode. Implement the feature considering the description of this game mode. Streak mode: User takes the risk and continues to play to the next round. The risk is, a wrong guess ends the game instantly, even if clues remain. For the standard user, a wrong guess is nearly free, you just see the next clue. In streak mode, every guess is a real gamble. I'm 80% sure it's Chile, but is 80% enough to bet the whole run?
See forum comments
Cinema mode Download course materials from Github
Previous: Demo: Introduction to the Guessing Game Next: Demo: Using Cursor to Implement Blitz Mode