card-game

Incomplete information card game

I would like to develop a trick taking card game. The game is between four players, one of which is a human and the other three hands are played by the computer. Where can I read up about developing the AI for such games? ...

Scoring Poker Hands with Deuces Wild

I'm looking for code or a description of an algorithm for determining the score of a poker hand when deuces are wild. I'd like code that is not encumbered by license fees, GPL, patents, etc. I know a couple of ways to approach this, but I'd prefer to not write the code if it is already available somewhere. So I'd appreciate it if the ...

Algorithm to find an optimum number of rummy-style sets?

I'm developing a card game that uses rummy-style sets of three cards. From a random selection of cards, I need the algorithm to pick out which cards would get me the highest number of sets. By "rummy-style sets of three" I mean: All three cards have the same value, like three Jacks. OR All three cards are of the same suit and sequenti...

Is there a built in Playing Card library in .Net?

Is there some built in Card graphics library built into .Net/Windows? Is there any way to utilize the card graphics used by the various card games that come with Windows? They look really nice and it would be cool if there was some built in functionality for this. ...

Is F# a good language for card game AI?

I'm writing a Mahjong Game in C# (the Chinese traditional game, not the solitaire kind). While writing the code for the bot player's AI, I'm wondering if a functional language like F# would be a more suitable language than what I currently use which is C# with a lot of Linq. I don't know much about F# which is why I ask here. To illustr...

C# ASP.Net BlackJack/CardGames Reference

Hello. I want to build a card game in C# ASP.Net. Something like blackjack or solitaire. Has anyone any ideas on how to go about doing this or any references I could refer to? Books on card game designs would be a good help. Help greatly appreciated. Cheers. ...

Where can I find free playing card images for use in creating games?

I'm looking for some free-to-use-for-any-purpose (public domain, BSD-license, etc.) playing card images for use in games. I found a pretty nice collection at http://www.jfitz.com/cards/, but was wondering what other nice collections might be available. I have Googled for "playing card images" and similar terms, and most of the returned...

Flash CS4 [AS3]: Playing Card Deck Array

I am looking to make a card game in Flash CS4 using AS3 and I am stuck on the very first step. I have created graphics for a standard 52 card deck of playing cards and imported them into the library in Flash and then proceeded to convert them all to Movie Clips. I have also used the linkage to make them available in the code. The movie...

Structure/algorithm for solving game with overlapping cards

Consider a card game along the lines of Tower Solitaire, Tripeaks, or Fairway Solitaire: the table consists of some number of cards which are immediately available, each of which might be covering other cards underneath it (blocking them from being played). You have one "foundation" card, and you can remove a card from the table if it's ...

Java: online card game library/class/e.g.

Hi ALL, I am looking for java example solution/library/class for online card game. I'm interested in creating non-profit thousand card game, with functionality to play human vs human and human vs AI. I'll appreciate any kind of advise. Many thanks! ...

Python Solitaire

This is more of a thought i had awhile rather than an actual problem to solve, maybe more a discussion, but i was wondering if it would be possible to design the game of solitaire and be abkle to play it in the python GUI or some other form of iterface? I know you can get a deck of cards fairly easily and i know yuo can play simple games...

Creating a standard card game (iPhone SDK)

I am trying to create a card game with a standard deck of cards. I need to be able to create a new card on screen every time someone draws a card from the deck and then be able to continuously move it throughout gameplay. I have image files for every card available in the game. I have tried creating a card object which held a UIImageVie...

How should i deal with the card assigment of my game ?

I've checked most of the question that was display regarding my title but they were not related to what i am looking for, so i am starting my own question. The game i am trying to re-create as an online game is called Buraco not sure if most or any of you know of it. I already have the basic functions of my game such as: shuffle the ...

How to validate a Rummikub combination with Jokers

In the game of Rummikub, for those who don't know it, you have tiles in 4 colours and with 13 different numbers on them (so 4 x 13 = 52 unique tiles) which you must use to make groups. There are two kinds of groups: Different colours, same numbers (e.g. R1-B1-G1) Same colours, sequence of numbers (e.g. G6-G7-G8) I'm writing code that...

Why won't my simple if statement work?

Hello! I've designed a simple card game where two cards are displayed and the user has to bet on whether they will get a card that is inbetween the two cards displayed. If the user doesn't want to bet, they just deal again. The user begins with £100. The game works fine in most aspects, but has a huge flaw. The user can bet more than the...

UIButton modify image of UIImageView

Hi guys, I'm developing an iPhone app, and I need a little help. I created a button and I want when I click on to change an image's imageView by the button's one. the image and button : CGRect slot1Rect = CGRectMake(70, 90, 80, 110); UIImageView *slot1 = [[UIImageView alloc] initWithFrame:slot1Rect]; [slot1 setImage:[UIImage im...