Skip to content

rsazra/swift-2049

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ScreenRecording_04-22-2025.20-31-08_1.MP4

This project was undertaken to:

  1. Get an easy, ultra simple introduction to SwiftData and SwiftUI navigation
  2. Learn about UIKit, and how it interfaces with SwiftUI
  3. Fulfill a friend's request of a 2048 game that can show one's worst score on the main page

This app is essentially a wrapper around Austin Zheng's swift-2048. It is extended with statistics, an updated UI, and the beginnings of persisted game state.

The app was rejected for a public beta on TestFlight for spam (too similar to existing apps), which is unfortunate but understandable. After this, I decided to not bother finishing what I had planned.

Improvements to make:

  • Finish persisting game state (functions for saving and loading state are done, just need to apply them on open/close)
  • Undo move (would likely follow easily from saving game state each move)
  • More stats (game time, number of games played, moves per game, etc.)
  • Complete scoreboard customization (anywhere from 0 to 4 stats on main page)

Ultimately, I had fun making it and certainly improved, but I think a bigger jump would've been better.

About

Basically just 2048

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages