Git Product home page Git Product logo

swiftui-2048's Introduction

swiftui-2048Awesome

Language Framework Shaders Last Commit NLOC Contributors Repo Size License

If you like the project, please give it a star โญ It will show the creator your appreciation and help others to discover the repo.

โœ๏ธ About

๐ŸŽฒ 100% SwiftUI 3.0, classic 2048 game. Supports iOS, iPadOS & macOS.

๐Ÿ“บ Demo

Gifs

Please wait while the .gif files are loading...

๐Ÿ‘ป Features

  • Supports iPhone, iPad & macOS-enabled devices
  • No graphical assets
  • Minimum deployment target is iOS 14.0 & macOS 11.0
  • Swift 5.7
  • Pure SwiftUI 2.0 app
  • Score & merge streak system: when multiple merges occur in a row - you got a score multiplier ๐Ÿ˜Ž
  • Settings
  • Interactive transitions
  • Property list based persistence for Settings
  • Portrait & landscape orientations support for iPad
  • Can be easily extended to support macOS

๐Ÿ‘จโ€๐Ÿ’ป Author

Astemir Eleev

๐Ÿ”– Licence

The project is availabe under the MIT License.

swiftui-2048's People

Contributors

eleev avatar jonyfang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

swiftui-2048's Issues

Images on tiles

Is there a way to get a custom image for each number on the tiles. I tried several approaches with Image() on the Zstack in TileView.swift, and it renders... but is extremely slow and I get the following error:
T2iles[30644:649494] [error] precondition failure: pipeline error: resolve_inplace-113f4730000005b: Compiler encountered an internal error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.