GitHunt
AU

A modern take on the classic Snake game

Snake Game for iOS

A modern take on the classic Snake game, reimagined with intuitive gesture controls for iOS. Swipe naturally in any direction to guide your snake โ€“ no buttons needed!

Features

  • ๐ŸŽฎ Natural Gesture Controls: Simply swipe in any direction to control your snake
  • ๐Ÿ“ฑ Adaptive Grid: Automatically adjusts to different screen sizes
  • ๐ŸŽฏ Multiple Game Modes:
    • Classic Mode with walls
    • Infinite Mode where snake wraps around edges
  • โš™๏ธ Customizable Settings:
    • Three grid sizes (Small, Medium, Large)
    • Toggle wall collision
    • Haptic feedback support
  • ๐Ÿ† High Score System: Track and compete with your best performances
  • ๐ŸŽจ Modern UI: Clean, minimalist design that follows iOS design guidelines
  • ๐Ÿ“Š Progressive Difficulty: Snake speeds up as you collect more food

How to Play

  1. Swipe in any direction to start moving
  2. Guide your snake to the food (colored dots)
  3. Avoid hitting walls (in wall mode) and your own tail
  4. The snake moves faster as you collect more food
  5. Try to achieve the highest score possible!

Controls

  • Swipe Up: Move snake upward
  • Swipe Down: Move snake downward
  • Swipe Left: Move snake left
  • Swipe Right: Move snake right

Requirements

  • iOS 17.0 or later

Installation

Clone the repository and open in Xcode:

git clone https://github.com/austincondiff/Snake.git
cd Snake
open Snake.xcodeproj

Technologies Used

  • SwiftUI
  • SwiftData
  • Gesture Recognition
  • Haptics

License

See the LICENSE file for details.

Acknowledgments

  • Inspired by the classic Snake game

Screen Recording

ScreenRecording_02-15-2025.01-14-47_1.mp4

Languages

Swift100.0%

Contributors

Other
Created September 16, 2024
Updated September 23, 2025