Ask Software Engineering Expert

C++ game project

This assessment will demonstrate that you understand the theory and implementation of C++ in the context of game development. You will use the fundamental building blocks of software engineering to construct a small game. This process will help you develop larger and more complex games as you progress through the course.    

Instructions:

Design and implement a virtual slot machine game in C++.

The game should start the player off with $2000, and should display the following main menu:

Player's chips: $2000

1) Play slots

2) Quit slot machine

3) Credits

The game should include the following functionality

-          If the player chooses 1, the program should ask the user to enter their bet. The program should check that the bet is legal.

-          The program should then generate three random numbers, in the range of [2, 7] and output them to the screen.

-          If all three numbers are "7", then award the player 10x their bet.

-          If all three numbers are the same, (but not "7"), then award the player 5x their bet.

-          If two out of three numbers are the same, then award the players 3x their bet.

-          Otherwise the player loses their bet.

The program then calculates the player's current chip count and displays it on the screen.

-          Finally the main menu is displayed.

Build quality:

The source code is required to display the flowing features:

Free of

-          Build warning at warning level 3 for all build targets.

-          Build errors for all build targets.

-          All intermediate files (.obj, .pdb, .ilk, ...... files etc.)

Commenting, Naming, Structure and documentation:

-          Code formatting is consistent with good use of whitespaces, tabling and alignment.

-          Consistent and clear naming conventions are used.

-          Where necessary, comments should be used to clarify the purpose and use of data and functions. Comment is the context of this assessment will also be a demonstrate understanding.

-          Any necessary document should be included as separate Readme.txt file.

-         An electronic copy of the source code (.cpp), solution file (.sin) and project file (.vcxproj) is required. o Name the source code folder as: Source - Student Name o Name the solution as: SlotMachine.sln

Runtime Quality:

The source code is required to display the following features:

Free of:

o Bugs.

o Crashes.

Interface features:

The executable is required to provide an intuitive interface with the flowing features:

-          Provide clear instructions

-          Controls are clearly identifiable and intuitive while playing

-          Design and layout of the in-game interface makes effective use of screen space.

-          All game state information it clearly presented on screen.

Software Engineering, Computer Science

  • Category:- Software Engineering
  • Reference No.:- M92761499
  • Price:- $60

Guranteed 36 Hours Delivery, In Price:- $60

Have any Question?


Related Questions in Software Engineering

In this assignment you will answer the following questions

In this assignment, you will answer the following questions related to Android platform and Android security design. 1. Describe Android architecture in detail by explaining the four conceptual layers. 2. Describe Androi ...

The research paper for this course is about some of the

The research paper for this course is about some of the best sources of digital evidence for child abuse and exploitation, domestic violence, and gambling according to the National Institute of Justice. Research commerci ...

Research projectin the course we have covered various

RESEARCH PROJECT In the course, we have covered various security and privacy issues that arise in the cyberspace field. We have learned to identify these risks and have discussed the current approaches and developments f ...

Overviewyou are required to modify and logically extend

Overview You are required to modify and logically extend the functionality of a provided code base to implement a game. This requires you to modify the code base as well as create documentation and implement various user ...

Address the following integrating biblical perspectives

Address the following, integrating biblical perspectives where appropriate: Define a hate crime and describe how white supremacist groups use the Internet to spread their message of hate. Explain why hate crime legislati ...

In this assignment you will answer the following review

In this assignment, you will answer the following review questions from the reading materials of the module/week. 1. "What are the key components of a typical P2P application? Describe their functions." 2. "What are the ...

Write reply to this article with references with apa

Write reply to this article with references with APA bibliography. Hate Crimes Over the past couple of years, hate crimes have been on the rise in America's largest cities. Studies show that there were sharp spikes in th ...

Reply to this article with apa referencehate crimes

Reply to this article with APA reference. Hate crimes According to Merriam-Webster, hate crime is any of various crimes (such as assault or defacement of property) when motivated by hostility to the victim as a member of ...

Proposaldesign of an efficient gps tracking system tag for

Proposal Design of an efficient GPS Tracking System (tag) for monitoring small species IMPLEMENTING EMBEDDED SYSTEMS USING SYSML Task Using PapyrusSysML Software (Downloadable online - Evaluation Copy- Latest Version) Mo ...

Write review on this article with apa formatgovernment

Write review on this article with APA format. Government surveillance is a major issue in the United States and globally. Surveillance refers to any collection and processing of personal data, whether, identifiable or no ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As