Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 24 May 2015, 17:24
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
klondike: SDL-based card game
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count_1  
Author Message

Joined: 20 Jan 2006
Posts: 6698
Location: lisbon

PostPosted: 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.
 Filesize   4.68 KB
 Viewed   742 Time(s)



Filename  klondike.tar.gz 
Filesize  46.55 KB 
Downloaded  362 Time(s) 
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0362s ][ Queries: 12 (0.0038s) ][ GZIP on ]