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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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