Skip to content
A 2048 game writing with SwiftUI.
Branch: master
Clone or download

README.md

2048 Game (SwiftUI app)

This is a simple game to demonstrate the new SwiftUI framework.

Note that the game algorithm may have issues, and this is still WIP.

Screenshot

Supported Platforms

  • iOS 13.0+
  • macOS 10.15+ (Available in 2 versions)

Notes about "UIKit for Mac"

("UIKit for Mac" version is deprecated, and the AppKit version is recommanded)

This demo has adopted "UIKit for Mac" and uses a dynamic-loaded bundle to enable the full macOS abilities (like the accessing to AppKit, which is used in the demo to handle keyboard events). Specially, this is done by just using Swift. To learn more about it, take a look at the source code of AppKitSupports, there is a lot of detailed comments.

License

MIT

You can’t perform that action at this time.