War Card Game

Hello,

I am asking for some help, guidance, and advice on a project I am doing for C++. The project I am working on is completing the simple card game of war. We are using visual studio 2010 and I want to make the game so that the computer plays a person and that at the end of the game I can print out a histogram of how many times the computer and person win using openframeworks.

Here are is my first step:

1) Randomizing a deck of cards and splitting half between 2 players (comp and person) - I am thinking that I can place the numbers 2-14 4 times over in a .txt file and use this as an array kind of deal to split them. Does this seem alright or is there an easier and more effective way to do this?

Topic archived. No new replies allowed.