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

  Explain file containing sporting goods which are sold online

You have file containing sporting goods which are sold online. Each item record contains item id, item name, item description, item category, item price, and units in stock.

  Set of strings of balanced parentheses

Show that the set of strings of balanced parentheses is not defined by any regular expression. Hint: The proof is similar to the proof for the language E above. Suppose that the set of balanced strings had a deterministic finite automaton of m states

  Adding two unsigned and signed binary numbers

Add the two binary numbers and interpret the sum assuming that the numbers are (1) unsigned, and (2) signed.

  Use a traditional for loop to process the array

Write a Java method which takes an integer array parameter and fills the array with random numbers between 1 and 1000, including 1 and 1000. Use a traditional for loop to process the array.

  Investigate and discuss how data is structured

Choose any two of the problem areas and discuss in detail how the database approach solves the problem when compared to alternative approaches.

  Find out winner in card game

When there is tie, nobody loses. If first two cards total 8 or 9, hand is called a "natural" and it wins automatically, unless both hands have equal value "naturals", in which case it's a tie.

  Write a c++ program to evaluate postfix expressions

Write a C++ program to evaluate postfix expressions. Your program should take postfix expression as an input, process it with the help of stack and display the result after performing required calculations.

  Write an algorithm to compute a student average grade

Weight is 20, maximum score is 75 iii. Final exam - Weight is 30, maximum score is 100 As an example, if a student scores 100 on the Homework Assignments, 55 on the Midterm exam and 85 on the Final exam, then their average grade is rounded to 82.

  Create two-page written analysis for problem statement

Create a two-page written analysis based on the following specification: Problem statement, Possible outcomes if no action taken (this one is mine and the only thing i have to do) Alternative actions.

  Determine output of convolution at center entry of subimage

Convolve subimage given below with a 3x3 mean filter. Determine the output of convolution at center entry of subimage? What about if you use 3x3 median filter?

  Receiver initiated distributed scheduling algorithms

Receiver initiated distributed scheduling algorithms suppose task pre-emption at the sender site.

  Day trader wants to invest a sum of money

Day Trader wants to invest a sum of money that would generate an annually yield of at least $10,000. Two stock groups are available: blue chips and high tech, with average an annual yields of 10% and 25%, respectively

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