Ana Sayfa / Uygulama Şablonları / Rubik's Cube Master - iOS Puzzle Game

Rubik's Cube Master - iOS Puzzle Game

Şimdi indirin ve kendi 3B ve AR küp bulmaca oyununuzu yayınlayın. Daha hızlı başlayın ve cilalı, profesyonel bir kod tabanı üzerine inşa edin.

  • Yayın tarihi23 Ekim 2026
  • Paket içeriği.h, .m, .swift
  • Son güncelleme23 Ekim 2026
Rubik's Cube Master - iOS Puzzle Game

Overview

Rubik's Cube Master iOS

3D & Augmented Reality Cube Puzzle

  • Premium Rubik's Cube game template
  • Real-time 3D + ARKit placement
  • RealityKit
  • Game Boy Style controls
  • 4 difficulty levels
  • Local leaderboard
  • SwiftUI
  • Zero dependencies

Rubik's Cube Master is a fully developed iOS puzzle game: A photorealistic 3×3 cube you can solve floating in 3D or placed on a real table in Augmented Reality. Swipe a face to turn it, flick to commit, and race the clock up a per-difficulty leaderboard. It's a complete, polished game built entirely with Apple frameworks, ready to rebrand and publish.

Ideal for developers who want to

  • Launch a cube puzzle app quickly without building a 3D engine from scratch
  • Study a complete RealityKit + ARKit + SwiftUI game with a clean, layered architecture
  • Deliver a white-label puzzle app for clients
  • Add a polished AR project to their portfolio

Features

Accurate Cube Engine

  • Exact integer model: every piece's position and orientation is stored as whole numbers, so the cube never drifts, no matter how many turns are made
  • All 26 visible pieces modelled individually, with stickers that follow each piece
  • Outer layers, middle slices and half turns: everything a real cube can do
  • Smart solved detection: checks that every face shows one colour, so a cube solved in any orientation (even via slice moves) counts
  • Fair scrambler: never turns the same axis twice in a row, so every scramble move counts and no scramble quietly collapses into fewer turns; never starts already solved
  • Renderer-independent: the cube logic has no UI or RealityKit code, so it's easy to test or reuse

Two View Modes: 3D and AR

3D mode

  • Drag the background to spin the cube, with natural inertia
  • Pinch to zoom in and out

AR mode

  • ARKit world tracking with Apple's coaching overlay to find a table or floor
  • Placement reticle with tap-anywhere-to-place (or a Place button)
  • Reflections come from your real room (HDR environment texturing)
  • People occlusion and LiDAR scene occlusion on devices that support them
  • Pinch to resize (0.4× – 3×), walk around it, and tap Move to place it somewhere else
  • Graceful fallback: if AR fails or camera access is denied, the game switches back to 3D with a clear message

Natural Touch Controls

  • Swipe a face to turn that layer: the turn follows your finger in real time
  • Flick to commit: a quick flick finishes the quarter turn in that direction
  • Let go early and the layer snaps back; drag further for a half turn
  • Second finger = zoom: a half-started turn settles back instead of mis-firing
  • Haptic tap on every committed turn

Timer, Moves & Undo

  • Measured from the moment that turn began, and stops the instant the cube is solved
  • Large live timer with smooth digit transitions
  • Move counter and your best time for the current level, always visible
  • Undo with full turn history
  • No lost solves: starting a new scramble or changing difficulty mid-solve asks for confirmation first

Solve Celebration

  • Victory spin and pop animation on the cube
  • Confetti in the six cube colours
  • Success haptic
  • Results card with time, moves and leaderboard rank, a “New Record!” crown, and how much you beat your previous best by

Local Leaderboard

  • Your 10 best times per difficulty, ranked by time, with fewer moves breaking ties
  • Each entry records the date and whether it was solved in 3D or AR
  • Gold, silver and bronze badges for the top three
  • Highlights the solve you just made
  • Clear a difficulty's times with confirmation
  • Saved on the device: no account or internet needed

Photorealistic Rendering

  • Rounded black-plastic pieces with raised, bevelled, rounded stickers
  • Physically based materials with clear-coat gloss
  • Image-based lighting from a procedurally painted photo studio (soft boxes and strip lights), so no HDR image files are needed
  • Key, rim and fill lights with soft shadows so the gaps between pieces read as real depth

Modern iOS Design

  • SwiftUI throughout, with the RealityKit view bridged in
  • Liquid Glass controls on iOS 26+, with a frosted-glass fallback on iOS 18–25
  • Dark, full-screen, distraction-free layout
  • iPhone and iPad (portrait)
  • Haptic feedback throughout
  • VoiceOver labels on the controls
  • Privacy-friendly: no network calls, analytics or tracking; the camera is used only for AR, and nothing leaves the device
  • Ad-free and purchase-free: a clean base you can monetize your own way, or not at all

Requirements

Requirements

  • Xcode: 26 or later
  • iOS deployment target: 18.0+
  • Language: Swift 5.9+
  • Frameworks: SwiftUI, Observation, RealityKit, ARKit, UIKit
  • AR mode: an ARKit device. The simulator runs 3D mode.

Code Quality

  • Layered architecture: Cube model, game rules, rendering and views are kept separate
  • Pure cube model: Exact integer maths, independent of the renderer
  • SwiftUI + @Observable: Modern state management, no Combine boilerplate in the UI
  • Zero dependencies: Nothing to update, nothing to break
  • Type-safe, modern Swift: Value types, enums and exhaustive switches
  • Commented where it matters: The cube maths, gesture handling and game flow are explained inline