# [Sprite Garden](https://kherrick.github.io/sprite-garden/) **Type:** 2D Sandbox Exploration and Farming Game **Platform:** Web (Playable offline, desktop and mobile) **Tech:** Custom Element, JavaScript, HTML Canvas, Service Worker **Play Now:** [https://kherrick.github.io/sprite-garden/](https://kherrick.github.io/sprite-garden/) --- > **Sprite Garden** is a 2D sandbox exploration and farming game available at [https://kherrick.github.io/sprite-garden/](https://kherrick.github.io/sprite-garden/). > Players explore procedurally generated worlds, discover biomes, dig for resources, plant crops, and shape their environment. The game is fully playable without login, and all progress is stored locally or can be exported as downloadable save files. Gameplay supports keyboard and mouse controls on desktop, and touch controls on mobile. --- ## ๐ŸŽฎ Quick Start - **Move:** W, A, S, D or Arrow Keys - **Plant / Harvest:** F - **Dig:** R - **Save World:** Ctrl + S - **Touch Controls:** Tap to move and interact --- ## ๐ŸŒฑ Gameplay Overview Players begin by exploring their surroundings to gather seeds and materials, plant crops, and experiment with terrain. Worlds are **procedurally generated**, providing a fresh environment every session with varied biomes and resources. All progress remains local โ€” no account or online storage is required. Installation and offline play are supported. --- ## ๐Ÿงฉ Features - Procedurally generated biomes - Local and downloadable saves - Cross-platform (desktop & mobile) - Installation and offline play supported - Modding and scripting via open API - Privacy-respecting (no login or data collection) --- ## ๐Ÿง  Modding and API Support *Sprite Garden* is designed for openness and experimentation. Players and developers can extend gameplay through **bookmarklet scripts** or modular JavaScript examples located in: [`/src/api/examples/`](https://kherrick.github.io/sprite-garden/src/api/examples/) Below are some example modules demonstrating various extensions: | Example | Description | Demo Link | |----------|--------------|-----------| | **Fullscreen** | Toggle fullscreen and reveal options | [Fullscreen.mjs](https://kherrick.github.io/sprite-garden/src/api/examples/Fullscreen.mjs) | | **Fireworks** | Particle effects and color trails | [Fireworks.mjs](https://kherrick.github.io/sprite-garden/src/api/examples/Fireworks.mjs) | | **Gold** | Automate digging for gold | [Gold.mjs](https://kherrick.github.io/sprite-garden/src/api/examples/Gold.mjs) | | **GOL** | Conwayโ€™s Game of Life using sprites | [GOL.mjs](https://kherrick.github.io/sprite-garden/src/api/examples/GOL.mjs) | | **Heart** | Animated heart pattern | [Heart.mjs](https://kherrick.github.io/sprite-garden/src/api/examples/Heart.mjs) | | **Konami Code** | Hidden keyboard sequence example | [KonamiCode.mjs](https://kherrick.github.io/sprite-garden/src/api/examples/KonamiCode.mjs) | | **Messaging** | Draw text on the map filled with water | [Messaging.mjs](https://kherrick.github.io/sprite-garden/src/api/examples/Messaging.mjs) | | **QRCode** | Generate a QR code on the map | [QRCode.mjs](https://kherrick.github.io/sprite-garden/src/api/examples/QRCode.mjs) | --- ## ๐Ÿ“š Documentation - [**About**](https://kherrick.github.io/sprite-garden/about/) โ€” Site background and design philosophy - [**Game README**](https://kherrick.github.io/sprite-garden/README.md) โ€” Detailed overview, features, controls, and gameplay tips - [**Privacy Policy**](https://kherrick.github.io/sprite-garden/privacy/) โ€” Information on data handling and user privacy - [**Source Code**](https://github.com/kherrick/sprite-garden) โ€” Full project source for exploration and custom development --- ## ๐Ÿš€ Try It Out - **Play Now:** [Sprite Garden](https://kherrick.github.io/sprite-garden/) โ€” Main playable version - **Offline / Local Save:** Supported - **No Login Required:** All data stays on your device --- **Tags:** progressive web app, PWA, sandbox game, web game, pixel art, farming sim, procedural generation, modding, open source, Canvas, JavaScript, HTML5, browser game