Skip to content
Shahidzbi4213Public

About

๐Ÿ“ A juicy, tactile evolution of directional unblocking puzzles.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Squish Out Banner

Kotlin Multiplatform Compose Multiplatform Platforms Room KMP Tests License

๐Ÿ“ A juicy, tactile evolution of directional unblocking puzzles.
Replace cold, sterile arrows with living, breathing kawaii gelatin blobs featuring dynamic radial gloss shaders, expressive eyelid states, squish-and-stretch launch physics, and a rich 150-stage saga metagame.

๐Ÿ“ฑ Gameplay Showcase โ€ข โœจ The Anti-Arrow Innovation โ€ข ๐ŸŽฎ Tactile Physics & Feel โ€ข ๐Ÿพ Meet The Squishies โ€ข ๐Ÿ—บ๏ธ Saga & Biomes โ€ข ๐Ÿ—๏ธ Architecture โ€ข ๐Ÿš€ Quick Start


๐Ÿ“ฑ Gameplay Showcase

Live Gameplay Board ย  Saga Progression Map ย  Jelly Dex Companion Showcase

Live game screens running on device: Tactile 6ร—6 Game Tray, 150-Stage Stepping-Stone Saga Map, and the Jelly Dex Companion Roster.

๐Ÿ” Click to view additional modal screens (Booster Shop & Daily Puzzle Calendar)

Booster Shop Modal ย ย  Daily Puzzle Calendar Screen


โœจ The "Anti-Arrow" Innovation

Traditional spatial unblocking games (such as Arrow Puzzle) rely on sterile, monochromatic geometric arrows on flat backgrounds. While the core spatial logic is proven, the visual experience is cold, clinical, and impersonal.

Squish Out transforms this logic puzzle into an irresistible, character-driven arcade experience:

  • No More Sterile Arrows: Every puzzle piece is an organic fruit jelly creature ("Squishy") with an inherent anatomical escape vector (tapered directional snout, candy antenna, forward-focused pupils).
  • Living Eyelid Communication: Trapped jellies sleep peacefully ( ห˜ โ—ก ห˜ ); unblocked jellies wake up with star-sparkling pupils ( โœฆ โ€ฟ โœฆ ) and a glowing golden rim, intuitively communicating valid moves with zero visual clutter.
  • Juicy Tactile Feedback: Tapping an unblocked jelly triggers an explosive squish-and-stretch spring launch into the meadow accompanied by procedural waterdrop pops (ploink!) and multi-tier haptics.
  • 100% Solvable Guarantee: A pure zero-dependency reverse-assembly generator (:core-engine) mathematically guarantees every board is solvable without frustrating dead-ends.
The 4 Eyelid and Movement States

๐Ÿ‘๏ธ Eyelid & Movement State Reference

State Expression Visual Feedback Game Mechanic & Meaning
Awake & Clear ( โœฆ โ€ฟ โœฆ ) Bright star pupils, pulsing golden rim aura, gentle idle pulse Ready to escape! Escape corridor to tray edge is 100% clear. Tap to launch free.
Asleep & Blocked ( ห˜ โ—ก ห˜ ) Curved resting eyelids, relaxed smile, zero rim glow Obstructed. Path is blocked by a peer or barrier. Resting quietly with zero board noise.
Blocked Bonk ( > _ < ) Dizzy wince, accordion pancake squish, damped rebound Tap Refusal! Tapped while obstructed. Rubbery thud audio with dual-pulse haptic recoil.
Spring Launch ( > โ€ฟ < ) Joyful squint glee, squish-and-stretch flight, trailing droplets Escape! Explosive spring takeoff along vector with high-pitched popping audio.

๐ŸŽฎ Tactile Physics & Game Feel

๐Ÿ“ 4-Tier Tactile Juice System

Squish Out is built around dopamine-rich tactile responsiveness at every frame:

  1. Idle Harmonic Breathing: Every jelly gently breathes via a volume-preserving sinusoidal wave (scaleX = 1 + wave, scaleY = 1 - wave) so the board feels organic and alive.
  2. Touch Anticipation: Touching a jelly immediately compresses it under the player's finger (scaleX = 1.14, scaleY = 0.86) before finger lift.
  3. Explosive Spring Release: Unblocked launch springs forward along its escape vector (scaleAlongVector = 1.55, scaleOrthogonal = 0.70) with cubic overshoot curves and 4โ€“6 trailing droplet particles.
  4. Accordion Rebound & Screen Shake: Tapping a blocked jelly triggers damped harmonic rebound (-6px -> +4px -> -2px -> 0px) and physical tray shake.

โ„๏ธ Interactive Obstacles & Deflectors

  • ๐Ÿชจ Mossy Meadow Rock: Indestructible monolithic stone; jellies must navigate around its permanent footprint.
  • โ„๏ธ Frosted Ice Block (2 HP): Crackable barrier featuring custom Skia fracture crack lines upon first impact, shattering into crystal shards on the second.
  • ๐Ÿฏ Honey Pot (1 HP): Dripping golden glaze pot that bursts open upon impact, freeing trapped jellies behind it.
  • ๐ŸŒŠ 90ยฐ Water Jet Deflector: Tray conveyor tile that dynamically redirects an escaping jelly's straight escape vector by 90 degrees, bending around walls and obstacles!
  • ๐ŸŒซ๏ธ Bubble Fog & Schooling Pairs: Cloud mist obscuring orientation until nearby tiles are cleared, plus symbiotic pairs that require synchronized dual-lane corridors.

๐Ÿพ Meet The Squishies

Each companion creature in the Jelly Dex possesses directional escape anatomy, custom radial gloss shaders, and metagame perks:

Meet The Squishies Roster

Companion Vector Rarity Grid Size Metagame Perk & Trait
๐Ÿ“ Strawberry Blobby โ–ฒ North Common 1ร—1 Plump & cheerful starting companion; balanced nimble escape.
๐Ÿซ Blueberry Drop โ–ถ East Common 1ร—1 Calm and cool; two-step smooth slide rhythm.
๐Ÿ‹ Lemon Spark โ—€ West Rare 1ร—1 Zesty adventurer; grants +10% bonus Candies on 3-star finishes.
๐Ÿฅ Kiwi Hopper โ–ผ South Rare 1ร—1 Bouncy garden friend; awards +1 Free Daily Hint in the booster dock.
๐Ÿ‡ Grape Eel Duo โ–ฒ North Mythic 1ร—2 Contiguous 2-tile multi-piece; requires dual clear corridor; leaves rainbow trails.
๐Ÿ‘‘ Honeycomb King Jelly โ–ฒ North Boss 2ร—2 Giant 4-cell royal sovereign with golden crown; triggers full-screen confetti!
๐ŸŒŒ Cosmic Nebula โ˜… Multi Legendary 1ร—1 Unlocked via 30-day Daily Puzzle streak; radiates pulsing stardust aura.

๐Ÿ—บ๏ธ Saga Progression & 6 Biomes

Experience a 150-stage winding stepping-stone saga across 6 dynamically themed worlds. Each biome customizes the tray enamel, porcelain rim, floor reflections, and ambient foliage:

Squish Out 6 Biomes Overview

Biome Stages Theme & Visual Atmosphere Unique Obstacle & Mechanic Hazards
๐ŸŒธ Sweet Meadow 1โ€“25 Lush mint grass, wild daisies, warm porcelain rims Foundational unblocking, mossy meadow rocks
๐ŸŒŠ Soda Lagoon 26โ€“50 Turquoise fizzy water, water lilies, bubble streams 90ยฐ Water Jet deflectors bending escape rays
๐Ÿฏ Honeycomb Valley 51โ€“75 Warm amber trays, honeycombs, floral pollen Honey Pots (1 HP) with dripping glaze
โ˜๏ธ Cotton Candy Peak 76โ€“100 Pastel magenta & violet cloud banks, mist Frosted Ice Blocks (2 HP) with Skia fracture lines
๐ŸŒŒ Licorice Labyrinth 101โ€“125 Deep twilight lavender corridors 1ร—2 Eel Schools & symbiotic pairs
โœจ Starlight Kingdom 126โ€“150 Radiant golden celestial citadel 2ร—2 King Jelly Boss Rush gauntlets
  • ๐Ÿ† Daily Puzzle Calendar: A dedicated monthly calendar mode featuring progressive difficulty streaks and exclusive skins like Cosmic Nebula.
  • ๐ŸŽ Milestone Star Chests: Earn 3-star ratings across saga stages to unlock wooden and porcelain star chests filled with Gems and Candies.
  • ๐Ÿ’– Heart Regeneration Economy: 1 life regenerates automatically every 20 minutes (up to 5 maximum hearts), persisted locally with Room KMP.
  • ๐Ÿ›๏ธ Booster Dock & Shop: In-tray capsule buttons for ๐Ÿ’ก Hint (raycasts the optimal move), ๐Ÿช„ Squish Wand (dissolves any blocking obstacle), and โ†บ Undo.

๐ŸŽถ Audio & Haptic Architecture

  • Zero-Asset Procedural 16-Bit PCM Audio Engine:
    • Generates real-time mathematical audio waveforms (POP, WOBBLE, VICTORY, CRACK, BOOSTER) without requiring heavy audio asset bundles.
    • Seamlessly dispatched via Android SoundPool and iOS CoreAudio / AVAudioPlayer.
    • Looping cozy ambient background soundtrack with dedicated settings mute toggles.
  • Multi-Tier Native Haptic Feedback:
    • LIGHT_CLICK (25ms) โ€” Standard jelly launch.
    • ERROR_WOBBLE (80ms) โ€” Blocked tap collision.
    • CRACK_THUMP โ€” Double-pulse waveform on obstacle fracture.
    • VICTORY_FANFARE โ€” Apple CoreHaptics success notification / Android victory pattern on stage completion.

๐Ÿ—๏ธ Architecture & Performance

SquishOut/
โ”œโ”€โ”€ ๐ŸŽฎ core-engine/         # Pure Kotlin (Zero-Dependency) Engine
โ”‚   โ”œโ”€โ”€ generator/          # ReverseAssemblyGenerator (100% solvable puzzle logic)
โ”‚   โ”œโ”€โ”€ model/              # Jelly, Board, Obstacle, WaterJet, Direction, DifficultyTier
โ”‚   โ””โ”€โ”€ GameEngine.kt       # Unidirectional State Machine (taps, undos, hints, solver)
โ”‚
โ”œโ”€โ”€ ๐ŸŽจ shared/              # 100% Shared UI & Data (Compose Multiplatform)
โ”‚   โ”œโ”€โ”€ board/              # Skia Custom Canvas, JellyRenderer, TrayRenderer, ParticleSystem
โ”‚   โ”œโ”€โ”€ data/               # Room KMP Database (SQLiteDriver), LevelDao, JellySkinDao
โ”‚   โ”œโ”€โ”€ presentation/       # GameViewModel, StateFlow reactive pipelines
โ”‚   โ”œโ”€โ”€ theme/              # BiomeTheme (6 palettes), SquishColors, SquishTypography
โ”‚   โ””โ”€โ”€ ui/                 # SagaMapScreen, GameScreen, JellyDexScreen, 3D Porcelain Modals
โ”‚
โ”œโ”€โ”€ ๐Ÿค– androidApp/          # Native Android Application (SDK 35, Ladybug/Meerkat)
โ””โ”€โ”€ ๐ŸŽ iosApp/              # SwiftUI iOS Application hosting Shared.framework

โšก 120 FPS Skia Rendering Performance

  • Zero Per-Frame Allocations: JellyRenderer, TrayRenderer, and SkiaBoardView utilize pre-allocated scratch Path, CornerRadius, and Brush caches to eliminate garbage collector stutter during 120 FPS animations.
  • Retina & High-DPI Vector Clarity: 100% mathematical vector geometry ensures zero pixelation on tablets, foldables, and ultra-high-density displays.

๐Ÿ› ๏ธ Tech Stack

Layer Component Version Role
Language Kotlin Multiplatform 2.4.20 Cross-platform core logic & UI
UI Framework Compose Multiplatform 1.12.1 Declarative shared UI across Android & iOS
Graphics Skia Custom Canvas Integrated 120 FPS custom shaders, gloss speculars & paths
Database AndroidX Room KMP 2.8.5 Offline-first relational game persistence
Driver AndroidX SQLite 2.6.2 Bundled C-SQLite driver for iOS & Android
DI Koin Multiplatform 4.2.2 Clean dependency injection
Coroutines Kotlinx Coroutines 1.10.1 Asynchronous flows, tick clocks & timers
Build Tooling AGP & Gradle 9.1.1 Modern build configuration

๐Ÿš€ Getting Started

Prerequisites

  • JDK 17+ (JDK 17 or Azul Zulu 21 recommended)
  • Android Studio Ladybug / Meerkat (Android SDK 35+)
  • Xcode 16+ (for iOS simulator & device builds)

Clone & Build

git clone https://github.com/Shahidzbi4213/SquishOut.git
cd SquishOut

Run All Unit & Engine Tests

./gradlew :core-engine:jvmTest :shared:testAndroidHostTest

Assemble Android Debug APK

./gradlew :androidApp:assembleDebug
# Output APK: androidApp/build/outputs/apk/debug/androidApp-debug.apk

Link iOS Framework (Simulator)

./gradlew :shared:linkDebugFrameworkIosSimulatorArm64
# Output Framework: shared/build/bin/iosSimulatorArm64/debugFramework/Shared.framework

๐Ÿงช Testing Coverage

The repository maintains 100% test coverage for all game logic, level generation, and data persistence:

  • ReverseAssemblyGeneratorTest: Mathematical verification that every generated board across 150 stages is 100% solvable.
  • BoardRaycasterTest: Corner raycasts, obstacle collisions, 90ยฐ water jet trajectory deflections, and multi-cell piece clearances.
  • GameEngineTest: Direct tap state transitions, undo stacks, hint solvers, and star calculations.
  • GameRepositoryTest: Room DAO transactions, 20-minute heart refill timer calculations, and currency economies.

๐Ÿ‘จโ€๐Ÿ’ป Author

Developed by Shahid Iqbal โ€” Senior Android & Kotlin Multiplatform Engineer.

Connect: Portfolio โ€ข LinkedIn โ€ข GitHub โ€ข X (Twitter)


๐Ÿ“„ License

This project is licensed under the MIT License โ€” see the LICENSE file for details.

Crafted with ๐Ÿ“, Kotlin Multiplatform, and Compose Multiplatform.

About

๐Ÿ“ A juicy, tactile evolution of directional unblocking puzzles.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages