A game based on the concept of a deck of playing cards. Either the standard 52 card deck (poker, solitaire) or a custom deck defined within the game (Magic the Gathering, Munchkin).

learn more… | top users | synonyms

16
votes
8answers
5k views

Determining Poker Hands

I have been making a Texas Hold'Em game as a part of an assessment, and I have been mulling over how to examine the 7 available cards and determine if hands exist. The only possible method I can ...
9
votes
3answers
2k views

How to implement the logic of a trading card game's “special effects cards”?

I am trying to write a kind of a trading card game here, in some way, it is similar to Magic The Gathering, or the Yu-Gi-Oh! card game. For those of you who are not familiar with it, basically, in ...
8
votes
4answers
374 views

Clientside anticheating in multiplayer game 1vs1

I'm developing a simple card game, where there will be a matchmaking system that will put you against another human player. This will be the only game mode available, a 1vs1 against another human, no ...
7
votes
2answers
1k views

Turn-based Client-Server Card Game - Unicast (TCP) or Multicast (UDP)

I am currently planning to make a card game project where the clients will communicate with the server in a turn-based and synchronous manner using messages sent over sockets. The problem I have is ...
7
votes
3answers
706 views

Is there any Card Game Framework? [closed]

Please let's avoid the discussion of creating/using a game framework or not. I would like to create a small framework for card games or use one if it exists. Does anyone knows one? Preferably ...
6
votes
3answers
2k views

How do I shuffle cards for a card game?

I am trying to develop an card game for Android Can anyone suggest me how to write code for effectively shuffling the playing cards?
6
votes
1answer
2k views

Developing a card game framework

What sort of design patterns and ideas might one use to build a somewhat general purpose card game framework? This stems from I made an attempt to build a clone of the popular Steve Jackson game ...
5
votes
1answer
307 views

Rendering scaled-down card images

I have high-quality SVG card images, but they drastically lose their quality when I downsize them. I have tried two ways of rendering cards (using Inkscape and Imagemagics): 1) Render SVG to high-res ...
5
votes
2answers
665 views

How should I approach AI for Spades game?

I was hoping some one could point me in the right direction about what type of AI you would use for a Spades game? For instance, would you create a behavioral tree or would you implement some other ...
5
votes
1answer
355 views

P2P card game: Shuffling without knowing the final order?

So, I am conceptualizing a P2P trading card game. The issue is the network: knowing the identity of a card is giving a major advantage, so both clients need enough information about a card that they ...
4
votes
3answers
294 views

Is it worth having AI opponents step in for disconnected players in an online multiplayer card game

I have an online multiplayer card game resembling spades/bridge and I want to implement a system that autoplays when a client disconnects. Right now, there is a client and server. In the new system, ...
4
votes
2answers
433 views

What is the name of this power or value-oriented gameplay mechanic?

I would like to identify the name of a certain gameplay mechanism. It is fairly commonly seen but probably best illustrated with card games: A game played with a pack of cards usually has card values ...
4
votes
1answer
395 views

Online card games: game loop or event based?

The only games I've made have been the game loop variety. I'm just starting to think about building an online poker game where people could meet up in a lobby, etc. Cards seem event based... is the ...
4
votes
4answers
914 views

How would one approach developing an AI for a trading card game

How would one approach developing an AI for a trading card game(e.g. Magic The Gathering, YuGiOh, etc.)? I'm not sure where to even begin. How would "Easy", "Normal", and "Hard" AI difficulties ...
3
votes
1answer
2k views

How Can I Improve This Card-Game AI?

Let me get this out there before anything else: this is a learning exercise for me. I am not a game developer by trade or hobby (at least, not seriously) and am purely delving into some AI- and ...
3
votes
3answers
5k views

Learning to write a solitaire game

Many years ago I did some programming in TurboPascal (on DOS!), but have not programmed since. Since retiring, I have "invented" a few solitaire games that I have given to people who sell solitaire ...
3
votes
3answers
862 views

Algorithm for making sets in a Rummikub game

I'm developing an Okey game (a Turkish version of Rummikub/Rummy). In it, each players has a bunch of tiles. Tiles have a colour and a number, like playing cards. Now, the player needs to make sets of ...
3
votes
1answer
562 views

Open trading card game rulesets?

Got pitched a project where we need to make a trading card game to promote a clients project. I don't have any brilliant ideas for rules, but was pondering if any "open-source" rulesets existed, or if ...
2
votes
2answers
1k views

Turn-based Strategy Loop

I'm working on a strategy game. It's turn-based and card-based (think Dominion-style), done in a client, with eventual AI in the works. I've already implemented almost all of the game logic (methods ...
2
votes
1answer
7k views

Java multiplayer cards game

I need to develop a simple multiplayer card game. For example, a poker game; this is only for study. I am going to develop it in Java. How I can I manage communication between the server and clients? ...
2
votes
2answers
542 views

Card Game Suggestion

I'm developing a gameboard for a 4 players cardgame well know in my region ( like a Bridge with 8 cards). I create a cardcontrol class, all the deck methods and all the logics for value card and ...
1
vote
1answer
65 views

Connecting players in an Online TCG

I've been developing single player games for a while now and I have decided to start working on a online PC(and maybe mobile) TCG. The design is almost complete and I can cover most of the code as far ...
1
vote
1answer
376 views

Approaches to partner trick taking card game AI

I am creating an android game out of a partner based trick taking card game. What are some generic approaches to AI players for these types of games and what are the advantages/disadvantages of each?
1
vote
2answers
4k views

Multiplayer card game using PHP/Ajax and mysql

I am designing a map game, using PHP and MYSQL. I don't know how to make the players who sign-in to the website to see other players who are also connected to the site and be able to chat with one ...
1
vote
1answer
209 views

TCG - how to program cards as separate entities

So I'm planning to try making a card game (in Java) but I'm not sure what the best way to design it is. I understand the engine stuff but not how the cards should be coded an how they should interact ...
1
vote
3answers
185 views

How can I determine the card possibilities for a game of Scopa?

In the game of Scopa, at the player's turn, there could be anywhere from 0 to 39 cards on the table (although 10+ is an extreme). I'm trying to figure out the best way to figure out possibilities for ...
0
votes
2answers
227 views

How do I determine which card is underneath the currently-dragged card in a card game?

I'm developing a card game. My custom control works great, but I need help to solve this: When I move a card (my custom control) over another card I need to know which card is underneath. Once I know ...
0
votes
1answer
42 views

Where to place cards drawn from a deck of cards to a tableau

I've never written card games before and am currently coding up a simple card game, I have a deck of cards and they need to be shuffled (done) and then draw from the top deck into a tableau (centre of ...
0
votes
2answers
72 views

How should I access frame buttons from a controller in an MVC approach?

I'm developing an italian card game using the mvc pattern. I have the class GameFrame that contains the view. The user's card are buttons (JButton objects). I have 3 controllers: GameController: to ...
0
votes
1answer
109 views

Card Game Complex Hand Holder [duplicate]

I've been working on a card game project for a while and have just got into the hand holder. What is stopping me now is how to spread the cards linearly in a complex way. By complex, I mean it changes ...
-2
votes
2answers
352 views

Simple Multiplayer CCG System

I am working on a cross plattform Multiplayer CCG (web, android, ios). Here are my goals in design: I want to game to be easly accessible and understandable for non CCG players within the first ...
-3
votes
1answer
660 views

Where & How to start?

I want to start a new development of a Online 3D Card Game. I have alot of expirience in C# .NET and Sockets and everything. I started to play with XNA Game Studio, but i found it a mass. No Visual ...