Write a C++ Card Game
$30-250 AUD
Betalades vid leverans
Overview:
You are to implement a computer-based variant of the card game War. This is a two-player card game played with a standard deck of cards in which the aim of the game is to capture all cards in the deck. When one player has all 52 cards, the game is over.
Basic Play:
To begin, all 52 cards from a standard deck of cards are evenly split randomly between two players.
The game plays as follows:
• Each player turns over the top card in their deck. This is called a "Battle".
• Whichever player has the highest card claims both cards and puts them at the end of their collection. The value of the card is based on the number value, with 2 being the lowest and Ace being highest. "Picture" cards are ordered lowest to highest Jack, Queen, King, Ace.
• If both cards have the same value, "War" breaks out (detailed below)
• This continues until one player has all 52 cards, in which the game ends
War:
If the value of both cards is the same, "War" takes place. It has the following rules:
• Each player takes the top 4 cards from their deck. The 4th card is revealed. Whoever has the highest value on that 4th card claims all cards. If it is a draw again, this process is repeated.
Game Modes:
Your game should have two modes that can be chosen at the beginning of your program:
1. Versus Computer Mode - In this mode one player can play against a computer opponent
2. Simulation Mode - In this mode you simulate a complete game with no human players. At the end of the game, you must report on who won, how many "battles" and how many "Wars" occurred in the game
Functionality:
• Game set up, including getting player names, dealing cards, etc.
• Basic game play, including battles
• Implementation of "war" functionality
• Appropriate display to screen
• Implementation of simulation mode
• End game condition
Extra Functionality:
You should make some individual additions to this, however could include such features as (but is certainly not limited to):
• Changing how a draw in "war" is handled
• Making a particular type of card have special powers in a battle or war
Program Design:
You should implement your program using the following classes (as a minimum, you may include more if appropriate):
• Player class: Holds details of the player including a collection of cards, contains only aspects that relate to a "card", i.e. no data members or member functions that are not directly related to a card
• Card class: Consists of the value and suit of the card, contains only aspects that relate to a "player", i.e. no data members or member functions that are not directly related to a player
Projekt-id: #11393760
About the project
23 frilansare har lagt bud på i genomsnitt $193 för det här jobbet
Hello. Do you need console game, correct? If yes, it's quite easy project, it's possible to complete it in day or two.
hi there I have done WAR game before. I would like to do this project if given the opportunity. let me know if you are interested so I can have further details. thanks.
Hello, I love c&c]] since more than 21 years ago ... you can see my previous works. Also, I have master and PhD in computer science. I should be a good option. PLease, let me know if it is a console application, or gra Mer
hello. i have a lot of experience in c++ programming. i can easily complete this task for you. we can have a chat. thanks
Hello, i am expert in java/c/c++ and i can deliver any task in least time and least payments. The code will be well commented and well formatted for better understanding. I believe in long term relations so first che Mer
Hi there, I just want to say that I am new here but I can do the quality work. Give me your project to do and I will give you the perfect code with after delivery support. Feel free to inbox me now.
Hello i would like to apply for this project. I already have a C++ certification and thus i think i can handle this project.
I have a lot of experience with projects like this. I have work a lot with C++ I'm sure I will be able to help you. Just need more information about what you need. Please contact me with more details
Hello Sir, you are required to built a computer based card game in c++. I can make this assignment of yours by using object oriented programming C++. In this case, you will ealsy get to understand the code and all the Mer
i've worked with c++ for over 3 year and i've made some simple games with c++ and SDL for gui but i've some questions first do you it with gui or just console game? would you run the game on windows or linux machine Mer
I have understood your requirements. I am looking forward to work with you. Timely delivery guaranteed.
I am an expert on C++ programming, which as you may know, is the most efficient of all Object Oriented Language. The game that you required a program of can be efficiently created using only a single class, but as you Mer
Hello first of all, I would like to clear a few things if it is alright, 1 ) "Appropriate display to screen" in this I am assuming you are talking about graphic programming but what kind of graphics you are expec Mer
It's the first time I hear about this game. I think it's simple to impement it. I implemented yet an italian card game called "scopa".