Skip to content

Latest commit

 

History

History

Game2048

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Game2048

A modern, universal OpenSwiftUI implementation of 2048.

Swipe the board or press the arrow keys to move tiles.

Run from the repository root:

make apple_setup
make macOS_run SAMPLE=Game2048

Use iOS_run or visionOS_run for a simulator.

To run the board tests on macOS from the repository root:

mise exec -- xcodebuild test -workspace OpenSwiftUISamples.xcworkspace \
    -scheme Game2048App -destination 'platform=macOS' -only-testing:Game2048Tests

Credits

Game2048 is inspired by OpenSwiftUI-2048.