Skip to content

Commit

Permalink
Changed back to the start with the game
Browse files Browse the repository at this point in the history
  • Loading branch information
OscarFridh committed Mar 22, 2019
1 parent a269b61 commit 6503935
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Concentration.playground/Contents.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
import PlaygroundSupport


//let viewController = ConcentrationViewController()
//viewController.cards = [
// "好",
// "你",
// "很",
// "我",
// "她"
//]
//viewController.voice = Voice(language: .chinese)
let viewController = ConcentrationViewController()
viewController.cards = [
"",
"",
"",
"",
""
]
viewController.voice = Voice(language: .chinese)

let resultsVC = ResultsViewController()
resultsVC.gameState = GameState(["A", "B", "C"])
//let resultsVC = ResultsViewController()
//resultsVC.gameState = GameState(["A", "B", "C"])

// Present the view controller in the Live View window
PlaygroundPage.current.liveView = resultsVC
PlaygroundPage.current.liveView = viewController

0 comments on commit 6503935

Please sign in to comment.