Thread: Card game war

  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    69

    Card game war

    I have to write this card game war program in my class and i have the queue and struct written but im having a hard time think of how the test file is supposed to begin. I was wondering if someone could give me some pointers into how I should be going about this. Here is was the parameters for the assignment are.

    This program is a simulation of the card game War. The queues need to be implimented as a struct and functions to complete the queue operations.

    here is a link to the assignment page:

    http://tinyurl.com/y9tdvqc

    P.S. IM NOT LOOKING FOR SOMEONE TO WRITE THIS PROGRAM FOR ME I JUST NEED SOME GUIDANCE!!!

  2. #2
    Registered User NeonBlack's Avatar
    Join Date
    Nov 2007
    Posts
    431
    Well what have you done so far? What are your ideas for the project?
    I copied it from the last program in which I passed a parameter, which would have been pre-1989 I guess. - esbo

  3. #3
    Registered User
    Join Date
    Jan 2010
    Posts
    69
    Well so far all i have written is my Queue and my struct, I just don't really know where to start in my main test file

  4. #4
    Registered User NeonBlack's Avatar
    Join Date
    Nov 2007
    Posts
    431
    Start at step one:
    Code:
    The deck gets initialized and shuffled. ( standard 52 card deck, no jokers )
    Give it a shot. It would help us help you if you posted your code as well.
    I copied it from the last program in which I passed a parameter, which would have been pre-1989 I guess. - esbo

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Segmentation Fault - aaaaaaaah!
    By yogibear in forum C Programming
    Replies: 6
    Last Post: 10-01-2007, 03:21 AM
  2. PC Game project requires c++ programmers
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 02-22-2006, 12:23 AM
  3. Problem With My Box
    By HaVoX in forum Tech Board
    Replies: 9
    Last Post: 10-15-2005, 07:38 AM
  4. Project Sangheili: The Real World War (Game)
    By -=RM=-Shadow in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 03-31-2005, 02:40 AM
  5. Video card mystery
    By Leeman_s in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 11-30-2003, 02:56 PM