Docs

StrikeGames

Install and make Strike yours, the physics game in RealityKit. Version 1.0.1.

Ten-pin bowling down an oiled lane: swipe to bowl, curl the swipe to hook it, and watch the pins fly. This guide takes you from download to a running game under your own name. It covers version 1.0.1. See the screens on its game page.

Requirements

  • Xcode 26 and an iOS 17.0 or later deployment target
  • Tuist 4 (brew install tuist)
  • An Apple Developer team for devices, Game Center, iCloud and the widget. The simulator runs without one.

Install

Download

Included with Games. Not signed in? The button takes you to sign in or create an account, then starts the download when you're back. Unzip the archive; it contains one folder, Strike/.

Make it yours

cd Strike
scripts/setup.sh --name YourGame --bundle-id com.you.yourgame

The script renames the target, scheme and bundle ids, rewrites the StoreKit product ids and runs tuist generate. To keep the name Strike for now, run tuist generate instead.

Run it

Open YourGame.xcworkspace, choose an iPhone simulator and run the YourGame scheme. The scheme uses Configuration/Products.storekit, so the shop works before App Store Connect is set up.

What's in the project

  • Content: Endless, with a tuned curve
  • Game Center: 2 leaderboards, 20 achievements
  • Shop: Ticket rolls, All lanes, Ball case, No ads
  • Built on: GameCore, Feel, GameServices, GameUI
  • Presets: comic, atomic, shirt
  • Swift: 7,139 lines in 74 files

Rebrand options

OptionWhat it sets
--nameTarget, scheme and product name
--bundle-idBundle id. Modules, the widget, the App Group (group.<bundle-id>) and tests derive theirs from it
--display-nameThe name under the icon
--teamYour team id. Required for devices, Game Center, iCloud and the widget's App Group
--product-prefixApp Store Connect product ids. Defaults to the bundle id

The values live in Tuist/ProjectDescriptionHelpers/AppConfig.swift. Game Center ids are listed in Configuration/GameCenter.json (two leaderboards, twenty achievements); create them under your app in App Store Connect. Products are in Configuration/Products.storekit, which the scheme uses for local purchases.

Skins

A skin is the whole look, not a palette: type, colour roles, panel language, buttons, motif, the HUD's details and the alley's materials (lane wood, masking-unit art, wall, lights, pin and ball paint). Players switch them live in Settings; Settings.skin persists the choice.

SkinTypePanels and motifAlley
AtomicYellowtail, Righteous, Josefin SansKidney panels with pinched corners, starbursts, atoms, boomerangsTurquoise and mustard masking units, warm maple, sodium spots
League ShirtLobster, BarlowContrast yokes with piping, a row of pinsTeal and plum stripes, mustard capping, cream lane
Comic Strip (default)Bangers, Comic NeueInked panels, halftone, hard offset shadows, POW burstsCyan, pink and yellow print, inked edges, a flat cel lane

Skin tokens live in Modules/GameDesign/Sources/Theme/StrikeTheme.swift (UI) and Modules/StrikeKit/Sources/Art/AlleyLook.swift (3D). To add a fourth skin, add a SkinID case and fill both; the compiler lists every switch that needs it.

Structure

App/                  @main, the root stage (RealityKit alley + phase layer), deep links, widget publishing
Features/Home         The title: wordmark, the daily frame and lanes tiles, Bowl, high game
Features/Lanes        Six lanes with their oil drawn from above; open with tickets
Features/Play         The HUD (frame and score tile, callout pills, sheet strip, coach), the big callouts, pause
Features/Results      Headline and score, strikes / spares / high, the full sheet, tickets, New game
Features/Shop         The ball rack (tickets) and StoreKit 2: tickets, All lanes, Ball case, No ads
Features/Settings     Skin switcher, sound, haptics, aim line, reminder, accessibility, restore, credits
Modules/GameCore      Seeded RNG, daily seed, saves, event ring, easing, synth (no game types)
Modules/StrikeKit     The rules: lane geometry, oil patterns, the swipe reader, the shot sim (ball and
                      pins), score sheet, leaves and splits, callouts, the game and daily card,
                      profile, achievements, products, and the alley's procedural textures and meshes
Modules/StrikeStage   RealityKit: the ARView, the alley per skin, pins and ball and their reflections,
                      the aim line, the camera shots, the touch layer
Modules/GameDesign    StrikeTheme tokens per skin, panels, buttons, type, motifs, the frame strip
Modules/Feel          Sound bank (synthesised), audio engine (roll, house, lounge), haptic patterns
Modules/GameServices  Game Center, StoreKit 2, iCloud sync, reminders
Modules/Session       GameSession (phases, input, HUD, results)
Widget/               The Daily frame widget. Shared/ holds what it shares with the app
Design/StyleSpec.md   The art direction: tone, the three skins, type, motion, sound
Tests/                Swift Testing for scoring, physics, the swipe, games and meta; XCUITest for launch, a ball, menus and skins

How it runs

  • A swipe is a list of touch samples. SwipeReader takes the stroke (the part moving up the screen) and reads speed from its last tenth of a second, the line from its slant and the side roll from how much its heading turns between halves. A sideways drag before any rise slides the ball along the foul line instead.
  • ShotSim steps at 240 Hz: the ball skids in the oil and hooks on dry boards (friction from the lane's OilPattern), drops in the gutter if it leaves the lane, and hits pins as discs. Struck pins tilt over, lie as capsules, slide and spin across the deck and knock others down. The same delivery always gives the same pinfall.
  • The session runs the sim one frame at a time and the stage poses the entities from it (and the mirrored copies under the lane that read as reflections through the oil). The sim's events become sound and haptics; the game's events become callouts and the next rack.
  • ScoreSheet is derived from the list of rolls, so the marks and totals can never disagree.

Tuning, scoring, the daily card and the economy are documented in BALANCE.md.

Licenses

Yellowtail is under the Apache License 2.0; Righteous, Josefin Sans, Lobster, Barlow, Bangers and Comic Neue are under the SIL Open Font License 1.1 (Licenses/). All are bundled as Latin subsets. Everything else in the project is yours to ship with your game. See ASSET_MANIFEST.md.

Changelog

1.0.1

2026-12-02

  • Comic Strip is now the default skin.
  • Clearer layout on every screen: the title's controls sit on one paper tray under the sign, "Lanes open" moves to the top bar, and the HUD, results, lanes and settings get even spacing so nothing touches.
  • Lanes cards put the name and Bowl on one row with the description full width underneath.

1.0.0

2026-11-24

  • First release: ten-pin bowling down one oiled lane, from behind the foul line.
  • Swipe up to bowl; the stroke's speed sets the ball speed, its slant the line, and its curl the hook.
  • A deterministic 240 Hz pin sim: pins topple, slide, ricochet off the kickbacks and take out their neighbours.
  • Full ten-frame scoring with the tenth frame's fill balls, named leaves and splits, and callouts from Double to Wild turkey.
  • Six lanes with their own oil patterns (House, Short, Long, Flat, Dry, Flood); four open with tickets.
  • Daily frame challenge: five seeded leaves for everyone, a Home Screen widget and a streak.
  • Three built-in skins, switched live in Settings: Atomic (default), League Shirt and Comic Strip. Each swaps type, colour roles, panels, buttons, motif, the HUD and the alley's 3D materials.
  • Nine ball designs, a StoreKit 2 pro shop (tickets, All lanes, Ball case, No ads), Game Center (2 leaderboards, 20 achievements), iCloud save sync, Reduce Motion and Increase Contrast.