You have been asked to create a Dungeon and Dragons style game. They have asked you to Design a class called Character that will hold the following information:
Then create a program that will allow a user to add information into this class and then the program puts the information out. Just to demonstrate the functionality.
Note - please keep this program for use later in the course.
Your program must have the following:
Note: This is a Microsoft c# assignment
This should be a simple answer. Don't make it too difficult
The following program is a console application application program.
using System; namespace DungeonsAndDragons { class Program { static void Main(string[] args) { /* Reading Name into name variable*/ Console.Write("Enter Name: "); var name = Console.ReadLine(); /* Reading Age into the age variable*/ Console.Write("Enter Age: "); /* Converts the string into integer */ var age = Convert.ToInt32(Console.ReadLine()); /* Reading Player's Name into the playersName variable*/ Console.Write("Enter Players Name:"); var playersName = Console.ReadLine(); /* Reading Level into the level variable*/ Console.Write("Enter Level: "); /* Converts the string into integer */ var level = Convert.ToInt32(Console.ReadLine()); /* Reading Gender into the gender variable*/ Console.Write("Enter Gender: "); var gender = Console.ReadLine(); /* Reading Race into the race variable*/ Console.Write("Enter Race: "); var race = Console.ReadLine(); /* Reading Class into the characterClass variable*/ Console.WriteLine("Choose Class: \n \t1.Fighter\n\t2.Wizard"); Console.Write("Class Choice: "); var classChoice = Convert.ToInt32(Console.ReadLine()); var characterClass = classChoice == 1 ? "Fighter" : "Wizard"; /* creating Character class object */ var character = new Character(name, age, playersName, level, gender, race, characterClass); /* Following Snippet prints the data stored in 'character' object */ Console.WriteLine("-----------------Character--------------"); Console.WriteLine("Name : " + character.Name); Console.WriteLine("Age : " + character.Age.ToString()); Console.WriteLine("Player's Name : " + character.PlayersName); Console.WriteLine("Level : " + character.Level.ToString()); Console.WriteLine("Gender : " + character.Gender); Console.WriteLine("Race : " + character.Race); Console.WriteLine("Class : " + character.Class); Console.WriteLine(); } } public class Character { public string Name; public int Age; public string PlayersName; public int Level; public string Gender; public string Race; public string Class; public Character(string name, int age, string playersName, int level, string gender, string race, string characterClass) { this.Name = name; this.Age = age; this.PlayersName = playersName; this.Level = level; this.Gender = gender; this.Race = race; this.Class = characterClass; } } }
Output for the Above Program:

You have been asked to create a Dungeon and Dragons style game. They have asked you...
For C# The manager of an event venue wants you to write a program that calculates the total ticket sales after each event. There are four types of tickets: orchestra ($100) floor ($75) tier 1 ($50) tier 2 ($40) tier 3 ($35) The user should be asked for what level do they have tickets and how many. Please note: this program should only accept one type of ticket. After each event, data is input by the user and then displayed...
C++ for this exercise, you will make a simple Dungeon Crawl game. For an enhanced version, you can add monsters that randomly move around. Program Requirements While the program is an introduction to two-dimensional arrays, it is also a review of functions and input validation. check: Does the program compile and properly run? does all functions have prototypes? Are all functions commented? Is the program itself commented? Are constants used where appropriate? Are the required functions implemented? Is the dungeon...
create a context diagram of the application described below. You have been asked to create a Contact Management application that will allow users to track their contacts. Your answers to the following questions should be framed within the context of this application. You have full control over the design of the application - the only restriction is that it must be realistic, it must address the standard functionality that one would expect from this type of application, and it must...
IN C# Write a program to help a local restaurant automate its lunch billing system. The program should do the following: Show the customer the different lunch items offered by the restaurant. Allow the customer to select more than one item from the menu. Calculate and print the bill. Assume that the restaurant offers the following lunch items (the price of each item is shown to the right of the item): Ham and Cheese Sandwich $5.00 Tuna Sandwich $6.00 Soup...
Description: You have been asked to help the College of IST Running Club by designing a program to help them keep track of runners in the club, the races that will occur, and each runner's performance in each race! Requirements: Please use Java to implement the program Your program must: Store information about each Runner. Store information about each Race. Store information about the performance of each runner in each race that they compete in. Note that each race may...
java In this project you will implement a trivia game. It will ask random trivia questions, evaluate their answers and keep score. The project will also have an administrative module that will allow for managing the question bank. Question bank management will include adding new questions, deleting questions and displaying all of the questions, answers and point values. 2. The project can be a GUI or a menu based command line program. 3. Project details 1. Create a class to...
java In this project you will implement a trivia game. It will ask random trivia questions, evaluate their answers and keep score. The project will also have an administrative module that will allow for managing the question bank. Question bank management will include adding new questions, deleting questions and displaying all of the questions, answers and point values. 2. The project can be a GUI or a menu based command line program. 3. Project details 1. Create a class to...
As the Healthcare Administrator, you have been asked to create an "eye-catching" name for a community healthcare event. Additionally, you must create a comprehensive marketing message that will serve as the overall theme for the event. Keep in mind your target market is families with children who will be starting or returning to school.
Need a Java program, great if anyone is able to help You have been asked to write an analysis of the deer population by town in New Jersey. The accompanying file contains data about each town. The format of the file is the name of the town, square miles and the number of deer counted. You will need to produce the report as follow: Township Square Deer Deer Per Deer/Tick Tick Threat Name Miles Population Square Mile Coefficient Indicator Green...
You are to write a program (BookExceptionsDemo.java) that will
create and, using user input, populate an array of instances of the
class Book. The class Book is loaded in our Canvas files:
Book.java
The user will enter a number n (n must be > 0, trap the user
until they input a valid value for n), Your program will declare
and create an array of size n of instances of the class Book.
The user will be asked to enter...