# Snake Game + Built-in Level Maker Template
A complete, clean, and highly customizable **Snake Game Template** for Unity. Includes Endless Mode, Classic Mode, 3 progressive levels, full mobile + desktop controls, and a **powerful in-editor Level Maker** (paint obstacles
directly in Scene view).
Checkout Demo: https://codefrontgames.itch.io/snake-2d-template
Perfect for:
- Quick game jams
- Learning projects
- Ready-to-publish mobile/web games
- Adding Snake minigames to larger projects
## 🎯 Key Features
- Smooth tilemap snake with head/tail/body curves
- **Built-in Level Maker** – Click in Scene view to add/remove obstacles (auto-saves)
- 4 difficulty levels (Easy → Extreme) with saved settings
-Persistent level progress system
-Score-based win conditions + Game Over logic
- Background music, sound effects, pause/resume
- Fixed 16:9 aspect ratio + auto-scaled background
-Fully working on WebGL, Mobile (swipe), and Desktop
## 🎮 Controls
-**Desktop/Web:** WASD or Arrow Keys
-**Mobile (Android/iOS):** Swipe in any direction
## 📂 Included Modes
- Main Menu with Settings
- Endless Mode
- Classic Mode
- 3 Unlockable Levels
- **Level Maker Tool** (Scene view editor extension)
## 🛠️ How to Use
1. Import the package
2. Open `MainMenuScene`
3. Play – everything works out of the box
4. Use the **Level Maker** in any scene with Grid + ObstacleManager to create unlimited custom levels instantly
5. Easily swap sprites, add new food types, or change mechanics (fully modular singletons)
## 📌 Technical Specifications
- Unity 2022.3+ (Built-in Render Pipeline)
- Uses New Input System (required)
- Tilemap-based grid
- PlayerPrefs save system
- Zero external dependencies except Input System package
- Custom Editor tool (ObstacleManagerEditor)
Made with ❤️ – ready for your next project!
**Version:** 1.0 **Last updated:** March 2026