Skip to content

Conversation

@Lv-Yi
Copy link

@Lv-Yi Lv-Yi commented Mar 31, 2019

No more swipe up after each game ends. Choose "New Game" and continue.

Verified on Xcode 10.1, iOS 8.4

alertView.addAction(UIAlertAction(title: "New Game", style: .default, handler: {action in self.reset()}))
alertView.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: nil))
self.present(alertView, animated: true)
// TODO: At this point we should stall the game until the user taps 'New Game' (which hasn't been implemented yet)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this change you should be able to remove this comment

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants