Skip to content

Commit

Permalink
Merge pull request #71 from BlueHuskyStudios/develop
Browse files Browse the repository at this point in the history
Sync develop into master
  • Loading branch information
KyNorthstar authored Feb 20, 2020
2 parents d4b2b04 + 78fded2 commit a362773
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ A Minesweeper-like game written entirely in [Swift](https://Swift.org), using [S

## Bugs and TODOs ##

Any [known bugs](https://github.com/BenLeggiero/Swift-Mines/issues?q=is%3Aopen+is%3Aissue+label%3Abug) and [future features](https://github.com/BenLeggiero/Swift-Mines/issues?q=is%3Aissue+is%3Aopen+label%3Aenhancement) will be listed in the Issues tab.
Any [known bugs](https://github.com/BlueHuskyStudios/Swift-Mines/issues?q=is%3Aopen+is%3Aissue+label%3Abug) and [future features](https://github.com/BlueHuskyStudios/Swift-Mines/issues?q=is%3Aissue+is%3Aopen+label%3Aenhancement) will be listed in the Issues tab.

If you notice any other bugs or have any other ideas, feel free to [report or suggest them](https://github.com/BenLeggiero/Swift-Mines/issues/new)!
If you notice any other bugs or have any other ideas, feel free to [report or suggest them](https://github.com/BlueHuskyStudios/Swift-Mines/issues/new)!

Have fun!

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Foundation
public extension URL {

/// The URL for the GitHub repo for this app
static let repo = URL(string: "https://github.com/BenLeggiero/Swift-Mines")
static let repo = URL(string: "https://github.com/BlueHuskyStudios/Swift-Mines")
?? URL(fileURLWithPath: "").also { assertionFailure("The repo URL the developer provided was invalid") }

/// The URL for providing feedback about Swift Mines
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import CrossKitTypes


// Some convenient constants for use in the cache. These should be self-explanatory. If they're not, please file a bug:
// https://GitHub.com/BenLeggiero/Swift-Mines/issues/new
// https://GitHub.com/BlueHuskyStudios/Swift-Mines/issues/new

private let presumedTallestScreenResolution = 2880
private let presumedEasiestBoardNumberOfVerticalSquares = 4
Expand Down
5 changes: 5 additions & 0 deletions Swift Mines/Swift Mines for macOS/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -99,30 +99,35 @@ private extension AppDelegate {


/// The user selected the "Source Code" menu item in the "Swift Mines" menu
@objc(didSelectSourceCodeMenuItem:)
@IBAction func didSelectSourceCodeMenuItem(sender: NSMenuItem) {
NSWorkspace.shared.open(.repo)
}


/// The user selected the "New" menu item in the "Game" menu
@objc(didSelectNewGameMenuItem:)
@IBAction func didSelectNewGameMenuItem(sender: NSMenuItem) {
overallAppState.currentScreen = .newGameSetup
}


/// The user selected the "Restart" menu item in the "Game" menu
@objc(didSelectRestartMenuItem:)
@IBAction func didSelectRestartMenuItem(sender: NSMenuItem) {
overallAppState.game.startNewGame()
}


/// The user selected the "Feedback" menu item in the "Help" menu
@objc(didSelectFeedbackMenuItem:)
@IBAction func didSelectFeedbackMenuItem(sender: NSMenuItem) {
NSWorkspace.shared.open(.feedback)
}


/// The user selected the "Swift Mines Help" menu item in the "Help" menu
@objc(showHelp:)
@IBAction func showHelp(sender: NSMenuItem) {
NSWorkspace.shared.open(.help)
}
Expand Down

0 comments on commit a362773

Please sign in to comment.