Contemporary Development With Functional Programming

Master Schnapsen/66 App for iOS

Master Schnapsen/66 is a new app for the iPhone, iPod Touch, and iPad that plays two classic card games, Schnapsen and Sixty-Six. Many people consider them the best two-person card games, and we’re inclined to agree. Our app plays at three levels—at the Master level it’s a formidable opponent.

Schnapsen and Sixty-Six are like miniaturized versions of Pinochle, surprisingly easy to play well but challenging to master. If you’re new to the game, there is a Suggest button that makes it easy to get up to speed. It’s like having an expert player to give you advice.

We also released Master Schnapsen/66 Lite, which you can try for free to see if you like the game. Both apps are now available on the App Store.

Master Schnapsen/66 on the App Store
Master Schnapsen/66 Lite on the App Store

Read all about the apps, and the games, on our Schnapsen page.

The Schnapsen Log

The Schnapsen Log is a series of columns about the card game Schnapsen, and how to play like a master. It’s even more like having an expert player to give you advice!

Recent columns:

Homework on Expected Values, Jan 29
A Vulnerable Hand, Dec 30
Point of Order, Dec 1
A Tangled Web, Jul 31
The Big Trumps, Jul 5
Necessary Precautions, Jun 20

Cassino App for iOS

Our first app for iOS plays the classic card game Cassino. You compete against the little computer inside the iPhone (or iPod Touch or iPad) to see who can capture the most cards.

The Cassino app supports three variants of the game. Two variants follow traditional scoring to 21. The third has simplified scoring, for faster and more casual games—excellent for when you’re standing in line for a latte.

Cassino is available on the App Store, a steal at 99 cents US (or similar steal in other currencies).

Cassino on the App Store

You can read all about the app, and the rules of the three variants, on our Cassino page.

OCaml Programming

We are happy users of the functional programming language OCaml. We used it to create the Schnapsen/66 and Cassino apps for iOS, as well as many example apps for iOS with freely available source.

Note: The OCaml-to-iOS and OCaml-to-iOS-Simulator cross compilers are currently based on OCaml 4.01.0, and work with iOS 8.

OCaml on iOS

Portland Example App Slide24 Example App Icosablue Example App

We have a page of resources for OCaml programmers where we show how to get (or build for yourself) our OCaml cross-compiler for iOS devices (iPhone, iPod Touch, iPad). We also show how to build our OCaml interface to the iPhone’s OpenGL ES graphics system.

You’ll also find the full source code for three working example OCaml iOS apps that are packaged to run on iOS devices, Portland, Slide24, and IcosaBlue. The first two show how to use Cocoa Touch from OCaml, and the third shows how to use OpenGL ES.

OCaml on iOS Simulator

Gamut Example App Voronoi Example App Icosablue Example App

We recently put together some resources to do programming in OCaml for the iPhone and iPad Simulator. This is an excellent way to get started with OCaml on iOS: all you need is a copy of Xcode. If you’re interested, our OCaml page shows how to get (or build for yourself) an OCaml compiler for the iOS Simulator.

We also give full source code for two example apps that are packaged to run in the iOS Simulator, Gamut and Voronoi. In addition, we’ve packaged the IcosaBlue app (described above) for the Simulator as well as for iOS devices.

If you don’t want to build from source, binaries are available for all of the iOS Simulator example apps. You can just download the binary and run it in the Simulator.

iOS Development

While porting OCaml to iOS devices and working on our apps, we learned some out-of-the-way things about iOS and iOS development. Read the latest discoveries on the iOS Development page.

Psellos Blog

One of us (Jeffrey) writes a sporadic blog about what we’re doing at Psellos.

Recent posts:

Further OCaml GC Disharmony, Jan 25
OCaml 4.01 for iOS 8 Simulator, Dec 19
OCaml App for iOS 8.1 (Sources), Dec 14
OCaml 4.01 for iOS 8, Dec 9
OCaml, Objective C, Rule 4, Dec 4

About Psellos

Learn about this site and the people behind it.