(anonymous IP: 35.171.164.77,349) | ||||||||||||||
| ||||||||||||||
Audio (94) Datatype (15) Demo (50) Development (244) Document (62) Driver (19) Emulation (60) Game (528) Graphics (224) Library (22) Network (60) Office (21) Utility (250) Video (18) Total files: 1667 Full index file Recent index file Part of aros exec |
[Show comments] [Show snapshots] [Show videos] [Show content] [Replace file] drac ==== Drac is a free, open-source, portable card game library that uses [SDL](http://libsdl.org/). It provides a good set of C++ classes and functions that help simplify the development of card games. Simple games especially solitaire games can be created using Drac with minimal effort. It can also be extended to accommodate more complex games such as [Tong-its](https://github.com/ricoz/tong-its/). Features ======== * Card drag and drop. Drac supports four types of dragging. You'll get to know them once you start using Drac in your card game projects. Drag and drop in Drac can be as simple as setting flags that determine how a certain area accepts cards that are being dropped. * Uses data structures to represent cards and card collections. Cards, card stacks, and card regions, including the game itself, are represented by classes. This simplifies development since you only need to define the regions your game requires then configure those regions based on the rules of the game. * Includes utility functions for getting card information such as card rank, suit, value, etc. Also includes functions for detecting overlapped cards and determining which card to accept based on the size of the area that overlaps. * A sample game, the famous Klondike is included to demonstrate how to use Drac. The actual game only requires a few lines of code, Drac takes care of the rest. A brief tutorial explaining how Klondike was made can be found [here](http://drac-cardlib.sourceforge.net/tutorial.php). * Includes a simple animation that you can use when a player wins similar to the one in Solitaire for Windows. * Portable. Has been proven to run on [Nokia Maemo platform] (http://maemo.org/downloads/product/OS2008/maemodrac/) (now part of MeeGo), [Sega Dreamcast](http://www.dcemu.co.uk/vbulletin/threads/221403-KlondikeDC), [Popcorn Hour](http://www.networkedmediatank.com/showthread.php?tid=39054), [BeOS](http://www.bebits.com/app/3799) and [Haiku](http://haikuware.com/directory/view-details/games/cards/tong-its). Acknowledgments =============== * Bitmap Font by [Marius](http://cone3d.gamedev.net/) (old dead link) * [James Brown](http://www.catch22.net/) for his help and for his great program [CardLib](http://www.catch22.net/tuts/cardlib) which inspired this project. * [Oxymoron for the card images used](http://www.waste.org/~oxymoron/cards/) * [Stephen Murphy's](http://www.telusplanet.net/public/stevem/) QCard32.dll for the card symbols used. (old dead link) |
Copyright © 2005 - 2024 The AROS Archives All Rights Reserved |