Closed Thread
Results 1 to 2 of 2

Thread: Creating a card game (multiplaye online with AI).. what do I program this in?

  1. #1
    Join Date
    Jul 2007
    Posts
    1
    Rep Power
    0

    Exclamation Creating a card game (multiplaye online with AI).. what do I program this in?

    Hi, first let me start off by sayign I have some experience in web design and visual basic, flashmx and actionscript.


    My Question: what should I use to code this, and where should I begin? I am unsure of what would be the best way to create this game


    The important points
    I need to create this as simple as possible (remember there will be graphic animation)

    I need to be able to connect online with someone


    and I need to have it set up so I can see my cards, but my opponent can not.

    -----------------------------------
    What I am trying to do is create a multiplayer card game. The idea is to somehow connect online with another designated person, and begin playing the game together.

    The game itself is pretty complex. I will need two computer players, and two empty seats for me and my opponent (which will be my friend, not just someone random).


    In total I have 4 players. The game uses a standard deck of 52. I want it to be visual so that we see the back of everyones hand, and you yourself can see your cards, fanned out.

    The dealer is determined by default, or by the last round winner. The dealer then gets a randomly generated deck of cards and deals one at a time to each player, going clockwise. When he runs out of cards, I want the game to automatically sort each players hand from highest to lowest card, in order, by suit.

    for example:
    king, nine, ace of hearts.
    Queen, Jack, nine, 4, 3, ace of spades.
    4, 3 of diamonds.
    7, ace of clubs.


    The player will be able to see his cards in this order, fanned out like a real deck.



    The player with the seven of diamonds plays the card in the middle. Then the game continues, going clockwise. If the next person has a 6 or 8 of diamonds, or a seven, he can play. If he has more than one play, he chooses the best possible one (there is strategy to this game). For the computers artificial intelligence, I will somehow tell it to evaluate each "play card" and put them in order from highest priority to lowest priority. Each time it's his turn, the priority play cards will be re-determined, and the highest priority card will be played.


    The player who gets rid of all of his cards first, wins the game, and is titled "dealer." A new round is started, and he deals.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Location
    Amherst, New York, United States
    Posts
    6,277
    Blog Entries
    26
    Rep Power
    20
    Java is probably the most ideal language for this project.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help Java Card Game
    By macFs89H in forum Java Help
    Replies: 4
    Last Post: 05-01-2011, 12:52 AM
  2. Card Game
    By eafkuor in forum Java Help
    Replies: 9
    Last Post: 02-06-2011, 10:05 AM
  3. implementation of card game Blackjack in C
    By mith in forum C and C++
    Replies: 3
    Last Post: 11-14-2009, 04:08 AM
  4. Can you use a Card Layout on Game Panels?
    By ebosysindia in forum General Programming
    Replies: 2
    Last Post: 05-28-2009, 02:51 AM
  5. [newb]Building an online card game...
    By zoobooboozoo in forum Visual Basic Programming
    Replies: 1
    Last Post: 01-11-2007, 02:35 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts