Klondike Solitaire for curses is a version of the Klondike Solitaire card game implemented in the C programming language. Developed as an entry for the International Obfuscated C Code Contest (IOCCC), the program is designed to fit within the contest's strict code size limitations, occupying less than 5 kilobytes. The tool uses the curses library to create a text-based interface for playing Solitaire within a terminal environment, featuring color and Unicode support for card symbols and display.
The game includes options for both single-card and three-card deals, as well as a Las Vegas scoring mode. The user interface is adapted for keyboard interaction, with the Tab key used to select cards and the Space key to drop them, simplifying the traditional drag-and-drop mechanics found in graphical versions. The scoring system mirrors that of the Windows version of Klondike Solitaire, including a time-based bonus. The program's reliance on the curses library allows it to run on various operating systems that provide a compatible curses implementation, such as Linux and Mac distributions, though support for Unicode characters may vary depending on the version of curses in use.
This implementation is intended for users interested in terminal-based games, retro gaming, or those who appreciate minimal and obfuscated C code, particularly in the context of programming contests like the IOCCC.
In the Developer Tools space, Klondike Solitaire takes a focused approach. It focuses on providing a lightweight, terminal-based Klondike Solitaire game for C environments. Klondike Solitaire is an open-source project aimed at C developers and retro gaming enthusiasts. The project is open source (Open Source). The product ships for the web and the command line.
Oscar Toledo G. builds and maintains Klondike Solitaire, and the product first shipped in 2026. Among its 3 catalogued features are terminal gameplay, curses interface, and minimalist codebase.
Latest indexed changes and source events
Klondike Solitaire game for curses in 5k of C verified by the PulseGate indexer
Other apps tracked under the same category.