Combinations is a single-player version of the board game "Mastermind". You have 10 attempts to guess the secret combination. Each guess will be rated by black/red (right digit, right place), and gray/white (right digit at the wrong place) pearls. If no mistakes are made, any given combination should be solvable in about 6 moves.
There's a C++ and a D version available for download. Source-Code is included. I didn't even bother finding an appropriate license for publishing it. Do whatever you want with it.
Note: My intention of publishing this was to provide a very simple SDL application which might motivate ppl to code their own C++ or D stuff. This might be too simple to be a complete game or to entertain you for more than 5 minutes, if you are not interested in programming.