Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

This assignment is an extension of the Workshops you have been doing all semester.

Design and Implement a character generator for a game. It should have the following specifications:
· The program should ask for a Level.
· The program should offer a selection of Classes or Professions to choose from and accept a choice.
· The program should then offer a variety of methods of generating the attributes
o The attributes should be: Str, Dex, Con, Int, Wis, and Cha
o The program should offer a selection of methods of generation such as:
§ Entering the attributes directly
§ Roll 4d6 and discard the lowest value.
§ Roll 4d6 and discard the lowest value and if the attribute is 16 or higher, add the value of an additional 1d6.
§ Roll Method IX:

· Each class should weight each attribute from most to least important. In Method IX, the most important attribute rolls 9d6 and keeps the highest 3. The second most important rolls 8d6, keeping the highest 3. This follows in this pattern of 7d6, then 6d6, then 5d6 and finally 4d6 for the least important.

· Each attribute confers a bonus or penalty. Through the Workshops you should have deduced that the pattern for the bonuses follows the formula y = (x/2)-5.

· Once the attributes have been rolled, calculate the hitpoints for the character. This should be the total value of 1 hitdice rolled and combined with the Con bonus (either positive or negative) for each level. If the Con bonus is negative, your program should ensure that the minimum value for every level is 1. (You cannot have 0 or a negative number for any level).

· Present the values generated as one set and either allow the user to accept or discard (and regenerate) the attributes. The program should remember the values entered for Level and Class/Profession

· Once a set of attributes has been accepted, you should allow the user to select skills.
o Each Class/Profession should get a different number of skill-points per level.
o The number of skill-points a character has should be the number of skill-points the Class/Profession grants combined with the Int bonus. If the Int bonus is negative this should be a minimum of 1 skill-point for each level. The first level should get 4 times the number of skill-points but only the first level!
o Each skill should have a maximum number of skill-points allocated to it of Level + 3.

· Once all skill-points have been spent, calculate the following:
o Base Attack Bonus (BAB). This is something determined by Class/Profession (as in there should be a difference between classes) and should be one of the following:
§ For combat orientated Classes/Professions: BAB = Level
§ Classes/Professions you think are average at combat: BAB = (Level*3)/4
§ Classes/Professions you think are combat adverse: BAB = Level/2
o Combat and Damage should be BAB + Str bonus and Str bonus respectively.

· Ask for and accept a character name

· Display all the information neatly. The character name and level, all attributes and bonuses, hit-points, base attack bonus, combat and damage bonus and all selected skills (with number of skill points).

· Offer the option of saving the character to a file (and actually save it if requested) before making a new character or quitting.

· Classes/Professions and Skills should be stored in files and read in at runtime.

Bonus XP (note: NOT marks): 1) Add point buy for stats! (may require some Google time). 2) Add save bonuses! (may require Google time).
NOTE: The Workshops have been working up to this point to provide you with a base program of your own work that should give you the best possible opportunity for completing this assignment. You should look to how these Workshops have developed your work for a guide on how to structure your final assessment.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91607753

Have any Question?


Related Questions in Computer Engineering

Question suppose that you discover that ram addresses

Question : Suppose that you discover that RAM addresses 000C0000 to 000C7FFF are reserved for a PC's video adapter in a 32-bit computer. How many bytes of memory is this?

Recall merge sort sorts a vector of elements rewrite merge

Recall Merge Sort sorts a vector of elements. Rewrite Merge Sort to sort a list of elements. You may use your own List or STL list. This must be in C++. Write your own version of merge_sort(), merge(), and copy() functio ...

An important decision places christmas holiday celebrators

An important decision places Christmas holiday celebrators: To buy real or artificial trees? A market research firm reported that 62% of individuals polled preferred an artificial tree. We conduct independent serving of ...

Sutures sutures are strands or fibers used to sew living

Sutures: Sutures are strands or fibers used to sew living tissue together after an injury or an operation. Packages of sutures must be sealed carefully before they are shipped to hospitals to prevent contamination. The p ...

Cullumber inc has issued a three-year bond that pays a

Cullumber, Inc., has issued a three-year bond that pays a coupon rate of 7.3 percent. Coupon payments are made semiannually. Given the market rate of interest of 4.4 percent, what is the market value of the bond?  (Round ...

Summarizes the results of a risk assessment for business

Summarizes the results of a risk assessment for Business Continuity Risk. Determine the steps that can be taken to mitigate Business Continuity risks. What's identified should be cost-effective based on the overall risk ...

If material hardness is normally distributed with a mean of

If material hardness is normally distributed with a mean of 42 and a standard deviation of 1. Specification limits for hardness are from 35 to 45. When the fraction defective is 0.0017 what is the corresponding PPM?

What is the solution for chapter 15 3e for java programming

What is the solution for chapter 15 3e for java programming 8th edition Create a JFrame that holds fjive buttons with the names of five different fonts. Include a sexth button that the user can click to make a font large ...

Task working with arrays in matlabnbspcreate a matlab

Task : Working with Arrays in MatLab  Create a MatLab script called a2taski.m that computes the following tasks. The answers will appear in the Workspace. To view the larger structures, e.g., matrix A in Part 1 double cl ...

Question you recently have been hired as the director of

Question: You recently have been hired as the Director of Systems Administration operations for ViralMedia, a provider of software tools for graphics artists. The company's core product, DigiWorld, runs under Windows and ...

  • 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