├── README.md ├── Snake.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── xcuserdata │ └── astemireleev.xcuserdatad │ └── xcschemes │ └── xcschememanagement.plist ├── Snake ├── Assets.xcassets │ ├── AccentColor.colorset │ │ └── Contents.json │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── Contents.json ├── Cell.swift ├── Components.swift ├── ContentView.swift ├── Direction.swift ├── Food.swift ├── Game.swift ├── Matrix.metal ├── Preview Content │ └── Preview Assets.xcassets │ │ └── Contents.json ├── Score.swift ├── Snake.swift ├── SnakeApp.swift └── View+Shader.swift └── demo.gif /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eleev/snake-swiftui/HEAD/README.md -------------------------------------------------------------------------------- /Snake.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eleev/snake-swiftui/HEAD/Snake.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Snake.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eleev/snake-swiftui/HEAD/Snake.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Snake.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eleev/snake-swiftui/HEAD/Snake.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /Snake.xcodeproj/xcuserdata/astemireleev.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eleev/snake-swiftui/HEAD/Snake.xcodeproj/xcuserdata/astemireleev.xcuserdatad/xcschemes/xcschememanagement.plist -------------------------------------------------------------------------------- /Snake/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eleev/snake-swiftui/HEAD/Snake/Assets.xcassets/AccentColor.colorset/Contents.json -------------------------------------------------------------------------------- /Snake/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eleev/snake-swiftui/HEAD/Snake/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /Snake/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eleev/snake-swiftui/HEAD/Snake/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Snake/Cell.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eleev/snake-swiftui/HEAD/Snake/Cell.swift -------------------------------------------------------------------------------- /Snake/Components.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eleev/snake-swiftui/HEAD/Snake/Components.swift -------------------------------------------------------------------------------- /Snake/ContentView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eleev/snake-swiftui/HEAD/Snake/ContentView.swift -------------------------------------------------------------------------------- /Snake/Direction.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eleev/snake-swiftui/HEAD/Snake/Direction.swift -------------------------------------------------------------------------------- /Snake/Food.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eleev/snake-swiftui/HEAD/Snake/Food.swift -------------------------------------------------------------------------------- /Snake/Game.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eleev/snake-swiftui/HEAD/Snake/Game.swift -------------------------------------------------------------------------------- /Snake/Matrix.metal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eleev/snake-swiftui/HEAD/Snake/Matrix.metal -------------------------------------------------------------------------------- /Snake/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eleev/snake-swiftui/HEAD/Snake/Preview Content/Preview Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Snake/Score.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eleev/snake-swiftui/HEAD/Snake/Score.swift -------------------------------------------------------------------------------- /Snake/Snake.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eleev/snake-swiftui/HEAD/Snake/Snake.swift -------------------------------------------------------------------------------- /Snake/SnakeApp.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eleev/snake-swiftui/HEAD/Snake/SnakeApp.swift -------------------------------------------------------------------------------- /Snake/View+Shader.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eleev/snake-swiftui/HEAD/Snake/View+Shader.swift -------------------------------------------------------------------------------- /demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eleev/snake-swiftui/HEAD/demo.gif --------------------------------------------------------------------------------