Lost Password?


Go Back   CodeCall Programming Forum > Software Development > General Programming

General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-18-2007, 09:49 PM
anothersoldier anothersoldier is offline
Newbie
 
Join Date: Jul 2007
Posts: 1
Rep Power: 0
anothersoldier is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 07-19-2007, 07:46 AM
John's Avatar   
John John is offline
Co-Administrator
 
Join Date: Jul 2006
Age: 20
Posts: 3,433
Last Blog:
Google Web Toolkit
Rep Power: 20
John has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond repute
Send a message via AIM to John Send a message via MSN to John
Default

Java is probably the most ideal language for this project.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Online game password cracker waf Request Services (Paid) 2 03-22-2007 05:17 PM
[newb]Building an online card game... zoobooboozoo Visual Basic Programming 1 01-11-2007 05:35 PM


All times are GMT -5. The time now is 07:04 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 98%

Ads