Skill / SKILL.md

Recipe Two Player Game

Kimeur/duology

Creates a complete two-player, one-phone SwiftUI game for iPhone Duo, Apple's foldable, where each player gets half the screen in every pose (closed on the outer display, open on the inner display, upright or sideways, partly folded). Use when someone wants to start a new two-player game or shared-screen app from scratch (a new Xcode project), or runs /duo-new recipe-two-player-game. For an existing app, use duo-shared-screen instead. Covers EvenSplit (GeometryReader plus AnyLayout), per-half coordinate spaces and content shapes, face-to-face seating turned by split axis, right-to-left seats, input gating, countdown, winner screen and rematch, keeping targets off the fold with reservedRegions(kind:) (.division, .occlusion), a Foundation-only game engine tested on the Mac, and UI tests that work on the iPhone Duo simulator.
2 views 46 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Creates a complete two-player, one-phone SwiftUI game for iPhone Duo, Apple's foldable, where each player gets half the screen in every pose (closed on the outer display, open on the inner display, upright or sideways, partly folded). Use when someone wants to start a new two-player game or shared-screen app from scratch (a new Xcode project), or runs /duo-new recipe-two-player-game. For an existing app, use duo-shared-screen instead. Covers EvenSplit (GeometryReader plus AnyLayout), per-half coordinate spaces and content shapes, face-to-face seating turned by split axis, right-to-left seats, input gating, countdown, winner screen and rematch, keeping targets off the fold with reservedRegions(kind:) (.division, .occlusion), a Foundation-only game engine tested on the Mac, and UI tests that work on the iPhone Duo simulator.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/Kimeur/duology' skill-source

Use the complete skill-source/plugins/duology-recipes/skills/recipe-two-player-game directory with your client’s skill installer.

  • plugins/duology-recipes/skills/recipe-two-player-game

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory plugins/duology-recipes/skills/recipe-two-player-game

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
29 included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
c4d224e937415aeefb00af6ae0825c108e3010aea5fb6bec598243fce9584243
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills