Write a simple game akin to old text adventure games

Assignment Help Computer Engineering
Reference no: EM131394280

This assignment asks you to write a simple game akin to old text adventure games like Adventure:

https://en.wikipedia.org/wiki/Colossal_Cave_Adventure

You'll write two programs that will introduce you to programming in C on UNIX based systems, and will get you familiar with reading and writing files.

Overview

This assignment is split up into two programs. The first program (hereafter called the "rooms program") will be contained in a file named" <STUDENT ONID USERNAME>.buildrooms.c", which when compiled with the same name (minus the extension) and run creates a series of files that hold descriptions of the in-game rooms and how the rooms are connected.

The second program (hereafter called the "game") will be called "<STUDENT ONID USERNAME>.adventure.c" and when compiled with the same name (minus the extension) and run provides an interface for playing the game using the most recently generated rooms.

In the game, the player will begin in the "starting room" and will win the game automatically upon entering the "ending room", which causes the game to exit, displaying the path taken by the player.

During the game, the player can also enter a command that returns the current time - this functionality utilizes mutexes and multithreading.

Reference no: EM131394280

Questions Cloud

Develop a presentation of yourself in which highlight skills : You are looking to develop a Life presentation of yourself, in which you highlight your qualities, skills, experiences, etc - at a personal and/or professional level.
Would you describe given distribution as symmetric or skewed : Would you describe this distribution as symmetric or skewed? Explain.- Are there any outliers? Explain.- Create a boxplot of these data.
Explain a discussion on sustainability of the change effort : Explain a discussion on the sustainability of the change effort. You must incorporate concepts and theories relating to the change process as they apply to each section of the paper.
Create a boxplot of given data : Would you describe this distribution as symmetric or skewed? Explain.- Are there any outliers? Explain.- Create a boxplot of these data.
Write a simple game akin to old text adventure games : This assignment asks you to write a simple game akin to old text adventure games like Adventure: You'll write two programs that will introduce you to programming in C on UNIX based systems, and will get you familiar with reading and writing files
What is ensured''s degree of operating leverage (dol) : Ensured Insurance has a degree of financial leverage (DFL) equal to 4.0 and a degree of total leverage (DTL) equal to 10.0. Ensured expects sales to be $600,000 this year, and its net profit margin is 8 percent.
Discuss the constitutionality of the limited grain act : Analyze and discuss the constitutionality of the Limited Grain Act explaining the legal basis for the law and why it is constitutional or unconstitutional.
What is beachcomber’s degree of total leverage (dtl) : Beachcomber Treasures has determined that its degree of operating leverage (DOL) is 3.5 and its degree of financial leverage (DFL) is 2.0.
What is dsf’s degree of financial leverage (dfl) : Debbie's Sod Farm (DSF) expects its EBIT to be $2,250 this year. DSF's marginal tax rate is 40 percent, it must pay $1,000 in interest this year, and it has 500 shares of common stock outstanding.

Reviews

len1394280

2/15/2017 12:22:25 AM

You’ll need to figure out how to get C to read input from the keyboard, and pause until input is received. I recommend you use the fgets() function. You’ll also get the chance to become proficient reading and writing files. You may use either the older open, close, lseek method of manipulating files, or the STDIO standard input library methods that use fopen, fclose, and fseek. I HIGHY recommend that you develop this program directly on our class server (see our home page). Doing so will prevent you from having problems transferring the program back and forth, which can cause compatibility issues.

Write a Review

Computer Engineering Questions & Answers

  Write the code used in a for loop

Write the code used in a for loop

  The combat identification server cids technology

the combat identification server cids technology demonstrator project tdp has been delivered on time with quality and

  What type of access permissions are probably configured

If you can browse a file on a Windows network share, but are not able to copy it or modify it, what type of access controls and permissions are probably configured?

  Questioncustomer id number name varchar10001 akash

questioncustomer id number name varchar10001 akash kumar10002 vijay chopra10003 rahul mishratransactionsid number

  Relational database with microsoft access

Relational Database with Microsoft Access 2010.

  What types on a lan and the type of software licensing

Discuss role of each of the following server types on a LAN and the type of software licensing with which the software should be purchased.

  In the early 2000s cellular carriers would not allow phone

in the early 2000s cellular carriers would not allow phone manufactorers to include wifi connections on their phones.

  Impact on the quality of software available for used

Will commercial software manufacturers be justified in raising their prices to make up for revenue lost to open source competitors? Do you think that strategy will be effective.

  Efficiency and effectiveness of project communications

An effective communication strategy is absolutely essential for achieving effective project integration management. Any time the aim is to integrate numerous concurrently operating activities, the role of communication becomes central. This is as ..

  How looping statements different from selection

define when you would use a while loop rather than a for loop and vice versa. Provide an example of one such instance.how looping statements different from selection.

  Given a 3-d point at position 20 35 10 determine the

given a 3-d point at position 20 35 10 determine the coordinates of the point that results from rotating the original

  Write least-squares regression equation for airports costs

Write the least-squares regression equation for the airport's costs. Predict the airport's costs during a month when 1,500 flights originate at the airport.

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