Sign in to follow this  

Simple card game question

This topic is 3153 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi to all members. I am planning to make a simple cards game for Windows, something like Hearts. I would like sugestions. Do I use DirectX for such a simple game? Do I use Windows GDI? In case of using Windows GDI? What's the best way to show animations (a card flying from players hand to table, for example)? A thread or a windows timer? Please help me. Thanks in advanced.

Share this post


Link to post
Share on other sites
First, what programming do you want to use? C++? C#? Java? Python? Personally I recommend C#. It's got a whole lot of nice tools (named XNA) that makes making games pretty easy (well, easier than some other languages/libraries).

Share this post


Link to post
Share on other sites
XNA with C# would be a good choice as MikeTacular suggested. Python with PyGame would be another choice that you could use.

I wrote this game: Speedy Solitaire in C++ using the PopCap framework, although at the time XNA did not exist.

One thing that might help is to look into the stack data structure: Stack_(data_structure)

Good luck :) .

Share this post


Link to post
Share on other sites
Hi, all.
Thanks for your suggestions.
I was thinking to use C++, but I can go with C#. I want somethink as light as posible so it is easy to download and run (no setup required).
I would like to know a few things about PopCap framework and XNA, if you are so kind to tell me, like:
- Size of the framework.
- Type of license (commercial or open source).

Once again, thank you very much for your help.

Share this post


Link to post
Share on other sites
XNA is pretty much free unless you plan on developing for the XBOX 360. You might take a look at C# How to Program by Deitel and deitel http://www.amazon.com/How-Program-Harvey-M-Deitel/dp/0130622214

You will also want to check out the XNA Creator's Club http://creators.xna.com/

The book should have some examples involving a card game that could provide some insite into the logic that would go into your game. It'll also provide you with a solid foundation in C# that will help you with XNA.

Share this post


Link to post
Share on other sites
IMO XNA is overkill for something as simple as a card game, plus it will make distribution harder. If you want to use C# and don't need any 3D, then I'd recommend using GDI+ for this.

Share this post


Link to post
Share on other sites

This topic is 3153 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this