Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions ComputerSolitaire/Views/Cards/Styles/PixelCardViews.swift
Original file line number Diff line number Diff line change
Expand Up @@ -309,23 +309,25 @@ enum PixelSprites {
}

// Compact pip suits use an even 6x6 footprint so their origins and centers
// stay on whole grid cells across the responsive card layout.
// stay on whole grid cells across the responsive card layout. Every row is
// horizontally symmetric so the 180-degree rotation used for bottom pips
// reads as the same symbol upside down.
static let spadePip = PixelSprite("""
..##..
.####.
######
######
##..##
..##..
.####.
Comment thread
austin-smith marked this conversation as resolved.
""")

static let heartPip = PixelSprite("""
.##.##
##..##
######
######
######
.####.
..##..
..##..
""")

static let diamondPip = PixelSprite("""
Expand All @@ -339,11 +341,11 @@ enum PixelSprites {

static let clubPip = PixelSprite("""
..##..
.####.
..##..
######
######
..##..
.####.
..##..
""")

static func pipSuit(_ suit: Suit) -> PixelSprite {
Expand Down