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 Fri 31 Oct 2014, 14:42
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 [1 Post]  
Author Message
muggins

Joined: 20 Jan 2006
Posts: 6689
Location: lisbon

PostPosted: Fri 18 Jan 2008, 05:47    Post subject:  klondike: SDL-based card game  

http://drac-cardlib.sourceforge.net/

Quote:

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.
klondike.png
 Description   
 Filesize   4.68 KB
 Viewed   711 Time(s)

klondike.png

klondike.tar.gz
Description 
gz

 Download 
Filename  klondike.tar.gz 
Filesize  46.55 KB 
Downloaded  340 Time(s) 
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
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 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


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0498s ][ Queries: 13 (0.0091s) ][ GZIP on ]