Skip to content

ralphgabrielle/SwiftUI-2048

 
 

Repository files navigation

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

About

A 2048 game writing with SwiftUI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%