Skip to content

Commit 96b8ae6

Browse files
committed
finished
1 parent 072535c commit 96b8ae6

File tree

5 files changed

+207
-197
lines changed

5 files changed

+207
-197
lines changed
0 Bytes
Binary file not shown.

WWDC 2018 Debug Xcode Project/WWDC SUBMISSION 2018.playground/Contents.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ import PlaygroundSupport
22
import SpriteKit
33
import Cocoa
44
/*:
5-
# *Musical Invaders*
5+
# *🚀Musical Invaders🚀*
66
You are on a mission to save the galaxy, but there's only one problem...
77
**your ship got off course and you're headed full speed for disaster!**
88

9-
## How to Play
10-
There will be enemies coming towards you. Shoot them to hear a note. If done correctly, you'll hear a catchy tune. But be careful! If you let one pass by or get hit by one, you'll lose a life.
9+
## How to Play:
10+
There will be enemies coming towards you. Shoot them to hear a note. If done in the correct order, you'll hear a catchy tune. But be careful! If you let one pass by or get hit by one, you'll lose a life.
1111

1212
The goal of the game is to survive all 4 levels. Complete them all to win!
1313

WWDC 2018 Debug Xcode Project/WWDC SUBMISSION 2018.playground/Sources/Declarations.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import SpriteKit
55
public let options = [NSTrackingArea.Options.mouseMoved, NSTrackingArea.Options.activeInKeyWindow, NSTrackingArea.Options.activeAlways, NSTrackingArea.Options.inVisibleRect,] as NSTrackingArea.Options
66

77
//delays animations, this makes the code musch easier to read
8-
public func delay(_ delay:Double, closure:@escaping ()->()) {
8+
public func delay(_ delay: Double, closure: @escaping ()->()) {
99
let when = DispatchTime.now() + delay
1010
DispatchQueue.main.asyncAfter(deadline: when, execute: closure)
1111
}

0 commit comments

Comments
 (0)