Card game frameworks ?

Hello. I’m new on Java game development, and I have a relatively good experience on Java programming (mostly server-side).

I want to make a game of an old popular card game (“Prefa” - it’s greek). However, I don’t want to waste my time re-coding all network, gui etc. but to focus on the rather complex rules of the game.

Is there any framework that will enable me to progress quickly ? I’ve searched on Google and Sourceforge, but I didn’t get any good results.

Thank you.

I wish I could say mine was actually ready for such a task. I have 2 card games on my website that use the same structure but it’s unforunately quite scary to look at :slight_smile: Hopefully one day I’ll clean it up and make it organized! Sorry :stuck_out_tongue:

Well, do you have any suggestions - resources ? I try to find a book, but most deal with issues I don’t care about (like 3d, sound, input etc)…

The closest I ever got to using a book for all of my development on GameLizard was in reading through the javadoc’s. That and http://www.javaalmanac.com has been nice too. Start making things, and when you run into specific questions that you can’t find an answer to, post them here and we’ll help :slight_smile: The more specific the question, the better the answer you’ll recieve. Asking how to make a game is like going to a mechanic and asking how to build a car. He/we might just say “go to school” :slight_smile: I wish there was something better to share, but if you need resources to read for examples, just search the forums and you’ll find good stuff. Good luck!

I haven’t seen anything like this around, although it’s one of those projects I thought would be fun to do. Why not make it yourself and release it for the good of the world? :slight_smile:

A card game framework is something I have been meaning to do for some time. I have a book full of card game rules that I would like to go through and implement on such a framework. Of course I was using this project idea as a form of self-education. Learning new language features in Java 5 etc. Practicing new programming techniques. Just refining my OO designs. I.e. it is something I wanted to do on my own.

Hehe if everyone thinks it’s a good idea why noone has made one yet ? :wink:

I suppose everything must start somewhere. I’ll go off now to my secret cave and start coding… I’ll come back with questions…

Well for my first dabble in java games, I’m doing good. I think I can implement the Windows solitaire with the code I have right now…

Wow, that’s really good for so fast.

What I was thinking of was less playing cards, and more making custom card games, like putting in your favortie super heroes and give them various stats and stuff. Basically me and my brother used to make cards in Photoshop all the time when we were younger – the idea is still fun and appealing to me, only I could have a program do it for me now. :slight_smile:

Finally, the forum is up.

Here is the solitaire:

http://www.orestis.gr/solitaire/Solitaire.jnlp

I look forward to all kind of comments.

I’ll read up on multi-player and I will try to implement a simple version of multi-player poker next (far simpler than what I have in mind).

Demonpants :

Do you mean playing statistics card games ? Or having a program that generates various random cards for printing ? I’ve seen numerous projects for the first on sourceforge…

Well basically it would have to be robust enough to support a Magic the Gathering clone as well as say a Yu-Gi-Oh clone. I would pretty much want to include custom scripting, interface, stats per card, etc., to make a really cool any-type-of-card game creator. The card editor would also let you specify border colors and textures, as well as the background image, etc. So if I was able to make it good enough it should be able to make Solitaire as well.

Do a search on sourceforge. Magic the gathering is very popular, I’ve seen many frameworks from it…

MTG is not specifically my point. I want to make something that can support practically any kind of card game, and that’s mostly for making your own, not for remaking other people’s And regardless, this is a project I thought would be fun, not something I’m actually working on. Who knows when I will get to it. Nice solitaire, by the way.

Do you have a good reason to force the download of Java 1.4.2_07?

I have Java 5 and Java 6 beta installed and I don’t feel like installing an older version.

Incidentally… no one has posted any comments about my new card game :frowning:

Not really. I haven’t looked into JNLP thoroughly… I really require >=1.4. If anyone know how it’s done, I’m thankful…

Try downloading the jnlp again, please. I had to do instead of .

Now it also handles double-clicks! I added an event thread/manager so I can extend it when I’ll go multi-player…

Maybe we should lock this thread and you should repost in the games showcase, now that you through with asking questions. Probably the General games would be best.
http://www.java-gaming.org/forums/index.php?board=42.0