C functions for a card game
$30-5000 USD
Pagado a la entrega
This is an assignment to build up 5 functions for a card game. The description all the functions are given as well as the prototype. The functions that you write for this assignment will be used in subsequent assignments, so you should try and do a good job here of testing your functions to ensure that they will work properly in future assignments. This first assignment involves writing functions that you will use for writing the rest of the game. For this assignment, you are to write functions in C alone. No C++ is involved at this stage. For the functions listed below, you will need to define the following C struct. struct Card{ /*fill in this portion with appropriate members*/ }; This structure represents a playing card. Each playing card has a suit and a face value. The suits are diamonds (D), clubs (C), hearts (H) and spades (S). The face values are 2, 3, 4, 5, 6, 7, 8, 9, 10, Jack (J), Queen (Q), King (K) and Ace (A). How you choose to represent a card is entirely up to you. However, your structure must be named as above. In the game that we will be writing, the cards will have a specific ranking. The face values of the cards from lowest to highest will be: 2, 3, 4, 5, 6, 7, 8, 9, 10, Jack, Queen, King, Ace. If two cards have the same face value, the suit will determine which card has a higher value. The order of suits from lowest to highest will be: diamonds, clubs, hearts, spades. Thus, the order of the cards, from lowest to highest, will be: 2 of diamonds, 2 of clubs, 2 of hearts, 2 of spades, 3 of diamonds, ...., Ace of hearts, Ace of spades.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
## Platform
Must work on Unix, Visual C++, Borland.
## Deadline information
Do not use complicated statements, this is a beginner's course.
Nº del proyecto: #2870041