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 Thu 02 Oct 2014, 06:35
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
muggins

Joined: 20 Jan 2006
Posts: 6687
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   707 Time(s)

klondike.png

klondike.tar.gz
Description 
gz

 Download 
Filename  klondike.tar.gz 
Filesize  46.55 KB 
Downloaded  339 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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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