Create a short text-based adventure game

Assignment Help Basic Computer Science
Reference no: EM13220108

In this assignment you will create a short text-based adventure game. The user is presented with a short text description of the state of the game and a small set of alternative actions to take. Based on the user's response your program will present a different game state. This continues until the game ends; there may be several possible endings with different degrees of success. The text of the game state and the alternatives are provided in a table below. In each case where an input is given by the user, "other" denotes any number other than those explicitly listed in that action. Functional requirements: 1. The results of the user's actions should be clear; make sure you use whitespace to separate the list of alternative actions from the description of the next game state. 2. Each time the user acquires or loses an object, (such as the purse) you must print a message about the object before describing the next game state. Grading rubric (described here): Performance Indicator [1] [2] [3] Readability and documentation 1 2 2 Use of conditional operators 1 2 2 Functional requirements 2 3 4 Non-functional requirements 1 2 2

Reference no: EM13220108

Questions Cloud

Ways in which time-dependent signals can be classified : •Discuss some ways in which time-dependent signals can be classified. •Discuss what is meant by "basic signal representation" and the advantage of this type of representation.
Write the verilog code for a two-input, two-bit adder : Write the Verilog code for a two-input, two-bit adder. The inputs are to be set by switches SW0-SW3 the three-bit result is to be displayed on LED0-2. Then write the Verilog code to add two hexadecimal integers stored in 4 bits each.
For which available resources are insufficient to satisfy : A "scarce" good is a good: Answer for which it is impossible to increase production any further given the available resources and technology. for which there is a shortage at the current market price.
Define mole of an ideal monatomic gas : Calculate change in E, q, w, and change in H and the final temp if the expansion is carried out according to each of the following paths:
Create a short text-based adventure game : In this assignment you will create a short text-based adventure game. The user is presented with a short text description of the state of the game and a small set of alternative actions to take.
What pesticides is leaching into groundwater supplies : Discuss the advantages and/or disadvantages of distributing marketable pesticide permits to each farm operating in the watershed equal to 40% of its current level of use of that pesticide, versus simply ordering each farm.
Explain what is the molar solubility of mns : What is the molar solubility of Mns, in grams per liter, in a buffer solution that is 0.110 M HC2H3O2 -0.505 M NaC2H3O2? For Mns
Write a program that outputs inflation rates for two success : write a program that outputs inflation rates for two successive years and whether the inflation is increasing or decreasing.Ask the user to input the current price of an item and its price one year and two years ago.
Explain an isothermal and reversible expansion : One mole of an ideal monatomic gas initially at 300K is expanded from an initial pressure of 10 atm to a final pressure of 1 atm. Calculate change in E, q, w, and change in H and the final temp if the expansion is carried out according to each of ..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Create a console-based application

create a console-based application whose Main() method accepts ten integer values from the user and stores them in an array. Next, create a method that determines and displays the smallest and largest of the ten values

  Differentiate matrix and blosum matrix

Write down the difference between matrix and a Blosum60 Blosum20 matrix? If one uses one and when other? What is meant by Clustal and summarize the operation.

  Creating a hashing function

Suppose you are creating a hashing function to use for storing string data in hashtable. One Candidate hasing function would be to sum the ASCII or Unicode values for each character, and that result as the hashcode.

  Required value for the move command

Shape_index is a required value for the move command. It is the index of the shape in the shape data arrays that you wish to move. It should range between 0 and MAX_SHAPES - 1. Be sure to validate the index.

  Statements that make variable-s field-s values consistent

Write one or two statements that make this variable's field's values consistent with the mathematical notion of "origin".

  Member functions for returning the monthly payment

Your loan class should have member functions for setting the loan amount, interest rate, and number of years of the loan. It should also have member functions for returning the monthly payment amount and the total amount paid to the bank at the en..

  How computer technology has changed our society

How have the major players including the government either made these statements true or false? What are examples of why or why not.

  Cryptography for standardized regulated and mandated

Whose interests are most significant when finding extent to which cryptography must be standardized, regulated, and mandated?

  How to use dynamic programming to optimally make change

Consider a coin system for which we know the greedy algorithm would fail to always provide optimal change: d = [1,5,8] . Show how to use dynamic programming to optimally make change for 10 units.

  K-map to simplify output function using don-t care

Use K-map to simplify output function of x by don't care conditions.

  Define a method hello

Define a method hello(name) which takes in a string representing a name and prints out "Hello, " followed by the name.

  Emerging market is using internet phone to replace pbx

Interesting emerging market is using Internet phone and company's high speed LAN to replace same company's PBX. Write a one page report on this issue.

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