Joined: 20 Jan 2006 Posts: 6703 Location: lisbon
Posted: Fri 18 Jan 2008, 05:47 Post subject:
klondike: SDL-based card game
Drac is a completely free, open-source, portable card game library that uses SDL (Simple DirectMedia Layer). It provides almost everything you need to create your very own card games. Drac is a set of C++ classes and functions that help simplify the development of card games. Any simple game specially solitaire games can be created using Drac with minimal effort. It can also be extended to accommodate more elaborate games.
This klondike game came with the drac source. I modified it to use a default .png card-file image, rather than the default .bmp. The original .bmp file was 1183k vs 29k for the .png.
Of course, being SDL based, it needs SDL libraries to run. Just extract the attached archive to / , then start by entering klondike in a console, or click on /usr/bin/klondike.
The game has simple controls. Left mouse click to turn cards, right mouse click to add cards to the bases, and escape key to quit.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum