Skip to content

Commit fff5e21

Browse files
committed
Finished
1 parent d44c867 commit fff5e21

File tree

9 files changed

+5
-40
lines changed

9 files changed

+5
-40
lines changed

SwiftStudentChallengeWrapper/SwiftStudentChallenge.playground/Pages/Basics.xcplaygroundpage/Contents.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//: [Previous](@previous)
22
//: # Basics
33
/*:
4-
**Floppy Bird** is a game where you control a bird to avoid obstacles and arrive at the destination.
4+
**Crazy Bird** is a game where you control a bird to avoid obstacles and arrive at the destination.
55

66
In fact, the game itself doesn't require much explanation. All you do is tapping/clicking the screen to make the bird flap.
77

SwiftStudentChallengeWrapper/SwiftStudentChallenge.playground/Pages/Basics.xcplaygroundpage/timeline.xctimeline

Lines changed: 0 additions & 6 deletions
This file was deleted.

SwiftStudentChallengeWrapper/SwiftStudentChallenge.playground/Pages/Features Showcase.xcplaygroundpage/Contents.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
Run all the code by clicking the **Execute Playground** button on the tool bar of the debug area. If you encounter a black screen, just rerun.
66

7-
If you feel it's too hard, set `isCheatModeOn` to `true`, rerun, and you are invincible!
7+
**For demonstration purpose, `isCheatModeOn` is set to `true` and you are invincible!** Set it to false if you want to play it.
88

99
Rearrange/Comment out the levels the way you want to focus on specific levels. Observe the code and see how much you can understand without any documentation.
1010
*/
1111

12-
let isCheatModeOn = false
12+
let isCheatModeOn = true
1313

1414
let game = Game {
1515
Level(name: "Progressive Value Change") {
@@ -43,7 +43,7 @@ let game = Game {
4343

4444
Level(name: "Bird Action: Wind") {
4545
Pipes(15)
46-
.progressivePipeGaps(from: 150, to: 100)
46+
.progressivePipeGaps(from: 175, to: 125)
4747
.progressiveIntervals(from: 1.5, to: 0.75)
4848
}.birdAction {
4949
Actions(running: .sequentially) {

SwiftStudentChallengeWrapper/SwiftStudentChallenge.playground/Pages/Test.xcplaygroundpage/Contents.swift

Lines changed: 0 additions & 22 deletions
This file was deleted.

SwiftStudentChallengeWrapper/SwiftStudentChallenge.playground/Pages/Test.xcplaygroundpage/timeline.xctimeline

Lines changed: 0 additions & 6 deletions
This file was deleted.

SwiftStudentChallengeWrapper/SwiftStudentChallenge.playground/Pages/Welcome.xcplaygroundpage/Contents.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//: # Home
22
/*:
3-
In this playground, you'll create some crazy levels for the game **Floppy Bird**.
3+
In this playground, you'll create some crazy levels for the game **Crazy Bird**, where you control a bird to avoid obstacles and arrive at the destination.
44

55
You'll utilize a universal **Action** system and a time-based **Map** system to realize your full creativity.
66

SwiftStudentChallengeWrapper/SwiftStudentChallenge.playground/contents.xcplayground

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@
66
<page name='Action'/>
77
<page name='Map'/>
88
<page name='Features Showcase'/>
9-
<page name='Test'/>
109
</pages>
1110
</playground>

0 commit comments

Comments
 (0)