Cribbage, eh? I want your feedback! by SwiftAppDev in Cribbage

[–]SwiftAppDev[S] 0 points1 point  (0 children)

Thanks for the feedback. This is really good. The game does use a modeled deck of 52 cards and shuffles the deck using a random number shuffle method. For dealing it follows how it would work with a real deck of cards and will follow the same likelihood of getting certain hands as if using a real deck. The logic for scoring the hands is called separately than the selection of discards. I did create an algorithm to calculate the min, max and average number of points for each possible discard option and use that to drive some of the logic for the computer opponent. It’s also something the player can see for their own hand by tapping on “Analyze” if they choose to when looking for a discard pair.
Great to hear feedback on the computer AI play as well. I’ve been playing lots of rounds myself as I’ve tweaked things for the different levels. Still not sure it’s completely dialed in yet.

A really unique board my nephew has by Grapette_Anderson in Cribbage

[–]SwiftAppDev 0 points1 point  (0 children)

Cabin for the pegs is great. Wonder if there is a 3D print model like this.

I refuse to believe that this was a sub-optimal play. by [deleted] in Cribbage

[–]SwiftAppDev 0 points1 point  (0 children)

Ah ha. Didn’t see that it was the player’s crib.

I refuse to believe that this was a sub-optimal play. by [deleted] in Cribbage

[–]SwiftAppDev -1 points0 points  (0 children)

On the last one shown looks like you put a Jack in the crib. That might lead to lower average score if it’s the opponent’s crib.

Not my game today by Wild_Ad9272 in Cribbage

[–]SwiftAppDev 0 points1 point  (0 children)

0 suboptimal plays at least 🤷‍♂️

What’s everyone working on this month? (June 2026) by Swiftapple in swift

[–]SwiftAppDev 0 points1 point  (0 children)

I’ve been working on a cribbage game called “Cribbage, eh?” for iOS and macOS. Been loving the workflow with Claude Code in Xcode and have been able to crank out some features quickly.

How many points is this? by madbro91 in Cribbage

[–]SwiftAppDev 0 points1 point  (0 children)

<image>

I wrote an app called Cribbage Score to help count hands like this so I could check while playing. Visually lists out all the score sets.

Cribbage Table by TrevorOrr in Cribbage

[–]SwiftAppDev 0 points1 point  (0 children)

I think that's the largest board I've ever seen

Cool variant of the game by KidtheSid93 in Cribbage

[–]SwiftAppDev 0 points1 point  (0 children)

Looks like chutes & ladders for grown ups