Create a game of video poker with a graphical user interface

Assignment Help Computer Engineering
Reference no: EM132168440

Can you comment in the code

The user/player should be able to play the game

its due in about 2 weeks

Objective:

Create a game of video poker with a graphical user interface (GUI). The player should start with $100, and then the system deals out 5 playing cards.

After the player sees the cards they are then asked to wager $10, $20, $50, or $100.

Next the user picks which cards they wish to throw away, and then the system deals more cards in their place. Once this has concluded money are awarded by these criteria:

Nothing - Player loses their wager

Pair - Player gets back their wager

Two Pair - Player wins wager x 2

3 of a kind - Payer wins wager x 3

Full House - Player wins wager x 6

Flush - Player wins wager x 10

Straight - Player wins wager x 15

4 of a kind - Player wins wager x 20

Royal Flush - Player wins wager x 100

If the player's cash is less than or equal to 0 the game is over, and they restart with $100. Also once they close the program it should store the score in a file that once they restart it they begin with the score they once had.

Reference no: EM132168440

Questions Cloud

Display the number of entries read : Write a proper C program that will read numbers from a text file and display the Number of entries read.
Transformational leaders for inspiring employees : How do you assess the four key behaviors of transformational leaders for inspiring employees?
Determine a course of action for the manager : Determine a course of action for the manager, using a decision tree and the expected value criterion.
Characteristics of a well designed service system : What are the seven Characteristics of a Well Designed Service System?
Create a game of video poker with a graphical user interface : Create a game of video poker with a graphical user interface (GUI). The player should start with $100, and then the system deals out 5 playing cards.
Amount of revenue needed to breakeven : Explain the breakeven formula for units and the amount of revenue needed to breakeven?
Building of a walmart superstore : What arguments would you make to a community group that is trying to stop the building of a Walmart Superstore in their community?
Marketing an existing product in an existing market : 1. Market penetration is involved in marketing an existing product in an existing market.
Resources to a specific type of consumers : Marketing Myopia happens when a firm devotes it resources to a specific type of consumers. This will allow the firm to market its product more efficiently.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd