(30 points) Write a C++ program that plays the game of A????1Stud PokerA????1. You will create a pro

(30 points) Write a C++ program that plays the game of A????1Stud PokerA????1.
You will create a program to play a game of Poker. This will be an easy game of Poker.
You will need to create the StudPoker class. We will use the following rules:

Players: 2 A????1 6

Supplies: 1 Deck of cards (52 total)

Objective: Get as many points as possible by playing n games/hands of the following
Stud Poker rules. If there is more than one player with the same high hand then they
split the pot for that game. After a card has been dealt to each player, they have a
chance to bet. They specify a number of points, which are added to the pot while
decreasing the amount of Points they have. Unlike real poker they cannot pass. At the
end of the game, after 5 rounds the player with the highest hand gets the current pot.
That amount is added to his set of Points and the pot is emptied. After n games, the
player with the most Points wins. This game is not table stakes, so the players can have
a negative balance.

Playing: Start by dealing 1 card to each player. The player who received the first card is
the first to bet. They can choose to drop out by betting 0. They will forfeit all money they
have put in the pot and will not be dealt any more cards. After all players have bet,
another card is dealt. This continues until the last player has 5 cards or if all but one player has dropped. All cards are then revealed and the winner is determined according
to this list, hands ranked lowest to highest value:

1. high card (highest value card)
2. one pair (2 cards of same rank
3. two pair
4. three of a kind (3 cards of same rank)
5. straight (5 numbers/rank in a row)
6. flush (5 cards with all the same suite)
7. full house (3 cards of same rank and 2 cards of same rank)
8. four of a kind (4 cards of same rank)
9. straight flush (5 numbers in a row with same suite)

If two players have equivalent hands then the pot is split between them. Round partial
Points up. Start a new game unless n games have been completed. In that case
announce the winning player.

(15 points) Modify your program to include a Poker parent class. You will change your program to give the player a choice of games to play. They will
have the choice of the original A????1Stud PokerA????1 game or a game of A????1Draw PokerA????1. You will
need to create a Poker parent class. Both DrawPoker and StudPoker classes will inherit
from Poker. Develop your class hierarchy so you will know which members (variables
and functions) to move to the parent class. You should not need to create or modify
much code for StudPoker itself.

(30 points) Write a C++ program that plays the game of A????1Draw PokerA????1. You will create a program to play another game of Poker. This will also be an easy game
of Poker. You will need to create the DrawPoker class. We will use the following rules:

Playing: Start by dealing 5 cards to each player. Each player looks at their hand and
must bet. They can choose to drop out by betting 0 Points. They will forfeit all Points
they have put in the pot and will not have the option to draw cards. The players can then
chose to discard up to 4 cards from their hand and receive that many cards from the
deck. Then they bet again. They can drop by betting 0 points and they do not reveal
their cards. All remaining cards are then revealed and the winner is determined
according to this list, hands ranked lowest to highest value:

1. high card (highest value card)
2. one pair (2 cards of same rank
3. two pair
4. three of a kind (3 cards of same rank)
5. straight (5 numbers/rank in a row)
6. flush (5 cards with all the same suite)
7. full house (3 cards of same rank and 2 cards of same rank)
8. four of a kind (4 cards of same rank)
9. straight flush (5 numbers in a row with same suite)

If two players have equivalent hands then the pot is split between them. Round partial Points up. Start a new game unless n games have been completed. In that case
announce the winning player.

Here is the main file for this program that you must use. Everything else will be your own
designA????1

#include <iostream>
#include A????1card_games.hA????1

char choose_game();

int main() {
card_games *game;
char game_choice;

game_choice = choose_game();

if(game_choice == A????1sA????1)
game = new StudPoker;
else if(game_choice == A????1dA????1)
game = new go_drawPoker;
game->play();
return 0;
}

Your member variables in all classes must be private for encapsulation rules. You must
have your class definitions in a header file and your source code in .cpp files. You must
also have your main function in a play_game.cpp file, separated from the class
implementations. Create a Makefile for your project.

 

"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

Audit Clarity Project 1 answer below »

The Clarity Project involved the International Auditing & Assurance Standards Board (IAASB) reviewing and reissuing all its standards to improve the clarity of wording and make their application more consistent.Subsequently the Australian Auditing & Assurance Standards Board (AUASB) has adopted this work and reviewed all existing ASAs.The complete new set of revised ASAs was issued and became legally binding in October 2009.

Required:

Outline the major revisions to the auditing standards and discuss their implications for auditors conducting audits.(Approx 1,000 words essay response)

You should review the relevant parts of the following resources in your research:

  • Website: The Institute of Chartered Accountants in Australia (ICAA) Available from:http://www.charteredaccountants.com.au
  • Website: Australian Auditing & Assurance Standards Board Available from:http://www.auasb.gov.au

  • Prescribed subject text:Modern Auditing & Assurance Servicesby Leung, 5th edition
Document Preview:

HOLMES INSTITUTE FACULTY OF HIGHER EDUCATION HA3032 Auditing Trimester 2 / 2011 ASSESSMENT Audit Clarity Project (20 marks) The Clarity Project involved the International Auditing & Assurance Standards Board (IAASB) reviewing and reissuing all its standards to improve the clarity of wording and make their application more consistent. Subsequently the Australian Auditing & Assurance Standards Board (AUASB) has adopted this work and reviewed all existing ASAs. The complete new set of revised ASAs was issued and became legally binding in October 2009. Required: Outline the major revisions to the auditing standards and discuss their implications for auditors conducting audits. (Approx 1,000 words essay response) You should review the relevant parts of the following resources in your research: Website: The Institute of Chartered Accountants in Australia (ICAA) Available from: http://www.charteredaccountants.com.au Website: Australian Auditing & Assurance Standards Board Available from: http://www.auasb.gov.au Prescribed subject text: Modern Auditing & Assurance Services by Leung, 5th edition . Created with an evaluation copy of Aspose.Words. To discover the full versions of our APIs please visit: https://products.aspose.com/words/ PAGE Created with an evaluation copy of Aspose.Words. To discover the full versions of our APIs please visit: https://products.aspose.com/words/ PAGE 2 Undergraduate Program HA2032 Corporate Accounting

Attachments:

 

"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

simple 20 words or so answers, so all the answers may consume upto 300 words. price negotiable afetr

simple 20 words or so answers, so all the answers may consume upto 300 words. price negotiable afetr agreement

    • Posted: 4 years ago
    • Due: 13/02/2016
    • Budget: $10
     

    "Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

    at a certain 35% of its diabetic patients seek care for a kidney related problem. If 50 diabetic pat

    at a certain 35% of its diabetic patients seek care for a kidney related problem. If 50 diabetic patients are randomly chosen from this hospital ,what is the probability that half of them are seeking care for a kidney related problem?

     

    "Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

    As a network administrator for Bacon Institute, you will need to become familiar with the Packet… 1 answer below »

    As a network administrator for Bacon Institute, you will need to become familiar with the Packet Tracer simulation tool from Cisco. Packet Tracer is used to simulate and test network configurations. This allows you to work out and improve upon the settings before implementing them.

    Using the diagram and configuration information from your first task, create a Packet Tracer simulation.

    Submit your .pkt (Packet Tracer) file to the box below.

    Attachments:

     

    "Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

    Document Preview: Data Waiting Seating 0.01 29.55 0.08 31.67 0.10 33.57 0.16 33.94 0.16 34.42 0.17 3

    Document Preview:



    Data
    Waiting
    Seating
    0.01
    29.55
    0.08
    31.67
    0.10
    33.57
    0.16
    33.94
    0.16
    34.42
    0.17
    35.20
    0.34
    36.58
    0.39
    36.72
    0.62
    37.02
    0.78
    38.20
    0.80
    38.28
    0.82
    39.02
    0.93
    40.39
    1.05
    41.33
    1.12
    41.53
    1.34
    41.55
    1.37
    42.01
    1.44
    42.08
    1.56
    42.11
    1.59
    42.20
    1.68
    42.32
    1.71
    42.59
    1.73
    43.08
    1.87
    43.16
    1.88
    43.28
    1.90
    43.49
    1.91
    43.74
    1.97
    43.76
    2.13
    44.16
    2.19
    44.37
    2.26
    44.46
    2.29
    44.49
    2.48
    44.59
    2.49
    44.87
    2.57
    45.14
    2.64
    45.23
    2.68
    45.35
    2.96
    45.40
    3.11
    45.56
    3.13
    45.64
    3.22
    45.78
    3.23
    45.82
    3.25
    45.94
    3.27
    45.98
    3.60
    46.04
    3.61
    46.65
    3.94
    46.74
    3.95
    46.85
    3.96
    47.03
    4.18
    47.16
    4.33
    47.16
    4.58
    47.50
    4.72
    47.62
    4.74
    47.89
    5.26
    47.95
    5.28
    47.96
    5.81
    48.09
    5.83
    48.18
    5.96
    48.52
    6.01
    48.68
    6.03
    49.10
    6.06
    49.18
    6.40
    49.25
    6.53
    49.31
    6.53
    49.52
    6.77
    49.59
    6.92
    50.34
    7.24
    50.62
    7.34
    50.89
    7.57
    51.23
    7.65
    51.65
    7.71
    51.86
    7.86
    52.18
    8.22
    52.20
    8.35
    52.54
    8.54
    52.59
    8.59
    52.81
    8.63
    53.18
    8.81
    53.26
    8.84
    53.73
    8.96
    54.20
    9.67
    54.50
    9.75
    54.88
    10.17
    55.25
    10.50
    55.42
    11.07
    56.85
    11.80
    57.03
    12.57
    57.34
    13.25
    57.82
    15.52
    58.24
    16.12
    58.39
    17.90
    58.41
    19.57
    58.48
    20.58
    58.51
    20.76
    58.94
    23.94
    59.67
    28.43
    60.90
    36.57
    61.22
    36.74
    62.25
    40.70
    66.68

    Attachments:


     

    "Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

    Suppose you are a financial analyst and you have been asked to analyse an ASX listed company…. 1 answer below »

    Suppose you are a financial analyst and you have been asked to analyse an ASX listed company. Your task is to make a recommendation as to whether or not this company is an attractive investment opportunity. Before you draw a conclusion, you are required to:

    1) Discuss how successful the company has been at maximizing stakeholders value over analysing period.

    2) Analyse the company’s share price history and traded volumes over the analysing period, it can be over the past 12 months, 2 years, or 5 years.

    3) Calculate the return for investing in the company both short term and long term and identify the main causes of its volatility in return over the corresponding holding period. The discussion of volatility should consider economic-wide and firm-specific factors.

    4) Apply the valuation technique(s) taught in this course and undertake a current valuation of the equity for your company. Based on your calculation, would you recommend a prospective investor to buy, hold or sell this security and why.

    5) Analyse the company’s dividend policy. Should the company follow a progressive dividend policy? Critically evaluate factors that are affecting corporate dividend policy and how your company’s dividend policy may have influenced its capital structure and share price.

    6) Analyse the company’s capital structure. How would you describe the current capital structure for your company and justify with reasons that should potential investors view this company as a favourable investment choice?

    7) Based on the attempt to all of above questions conclude whether your company is an attractive investment opportunity. You should clearly explain all of your assumptions used in the valuations and estimations and critical discuss the limitations of your analysis and any other risks that may affect investors’ decision making.

    Note: There are over 2,000 companies listed on the ASX, thus your graders expect that it is unlikely two groups will be investigating the same company. It is the graders expectations, that we see analysis of a variety of different companies from the different groups covering different dates.

    Attachments:

     

    "Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

    1 .Religion not?2) Select one of the following proofs for the existence of God: The ontological,…

    1 .Religion not?2) Select one of the following proofs for the existence of God:

    • The ontological,
    • Cosmological, or
    • Teleological proof.

    . Explain how the proof attempts to explain God’s existence and identify the associated with your selected proof. What are the merits of the argument? What does the argument take seriously about God’s existence?

    3) Now, identify at least two counterarguments against the proof you selected in the previous question. Who is the philosopher associated with each counterargument? What do they say is flawed about the ontological or cosmological or teleological proof? What are the merits of their counterargument?

     

    "Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

    I have attached the file which includes all the details and the word limit is not less than 1900…

    I have attached the file which includes all the details and the word limit is not less than 1900 words. Please quote the price.

    Thanks ………………………………………………………………………………………………………………………………………………………………………..

     

    "Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"