Making Paint.

Recently, I took on a project that turned out to be real fun. I attempted to recreate paint. With OpenGL handling the drawing, it was a task to find a good UI library that integrated OpenGL code. An obvious solution would be to use Win32 controls but they’re cumbersome and difficult to use. GLUI turned out to be a disappointment as well, as it refused to work with Visual Studio without the dll. Finally, FLTK provided a much needed break. It’s pretty spiffy as far as GUI libraries go, is cross platform as well.

It’s also the first time I’ve split a project onto a more than 3 source files;



Release (Windows) 



Blackjack is the most widely played casino banking game in the world. It involves a dealer and one or more players. Each player is dealt two cards and then has the option to take additional cards to bring the value of his hand to 21 or less.

A game of Blackjack with the hand 21 (Image credit: Wikipedia)
Blackjack has been the target of many high-profile advantage players especially card counters, which prompted casinos to take preventive measures such as the use of 7 to 8 decks and the installation of the “eye in the sky”.

The movie 21 is based on the real life story of MIT students who trained as advantage player and made millions from Vegas casinos.

Unfortunately, when I wrote the game, I wasn’t too familiar with the rules of blackjack. The game play is somewhat lacking in experience. But, it was my first project involving texture loading, which was a big step forward.


Blackjack Screenshot

Download the game

Download the source

View the help file