关闭

c# terminal program, create character and weapon -- 2

该项目收到6 来自天才威客的竞标,平均竞标价格为$23 USD

为像这样的项目获取免费报价
雇主工作
项目预算
$10 - $30 USD
全部竞标
6
项目描述

Hi, trying to understand c# better and I want a experienced programmer's viewpoint,

Create a Weapon class with an attack int member variable and one additional primitive type member variable of your choosing.

Create a Character class that contains member variables for a name string, base attack int, health int, equipped weapon Weapon, and two additional primitive type members of your choosing.

All member variables in the Character and Weapon classes will have properties associated with each of them.

In Program, have one static Character object that will act as a single main character that starts off empty.

The Main() method in Program will provide the user with a choice of creating a new Character, modify the current Character, creating a new Weapon and set it as the static Character’s equipped weapon, display information about the static Character object, and exit.

The application will only close when the window is closed or when the user selects the exit option and the user can select these options in any order any number of times.

在寻找赚取金钱的机会?

  • 设定您的预算和时间框架
  • 大致描述您的建议方案
  • 为您的工作领取工资

雇用同样在该项目上竞标的威客

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online