Project 1 requirementsnbspthis project requires you to

Assignment Help Application Programming
Reference no: EM13347670

Project 1 Requirements

 

This project requires you to program a maze-type game using Assembly Language. It is not acceptable to use any other programming language for this project. The purpose of the game will be to move a player's avatar through a simple maze using the keyboard. The following are the requirements for the game:

 

1.     Game Elements

 

  • A Player
  • A Maze
  • A Score
  • A Timer

 

2.     User Input

 

  1. The user uses the "w,a,s,d" keys to move his avatar up, left, down, and right respectively. Alternately, the ARROW KEYS may be used
  2. The user must NOT be required to press ENTER (or any other key) after the above mentioned keys in order to move
  3. Note- This means you should use the "ReadKey" routine with no timeout inside of  the game loop in order to determine if the user wishes to move
  4. If the screen "flashes" between player moves (or at any time), points will be deducted. This means that you should not clear the screen before drawing anything between moves.

 

3.     The Maze


1.  The maze must be, at a minimum, 20x20 "cells". Each cell is one text character on the screen.
2.  In response to each keyboard input, the avatar will attempt to move one "cell" in the appropriate direction (except as noted below regarding "walls")
3.  Each cell must contain exactly one of the following:

 

  • "Wall"- the avatar may NOT move into this cell in response to user input

 

  1. Must be denoted with a hash sign "#"

 

  • "Empty"- The avatar may move into this cell with no other effects

 

  1. Must be denoted by a space- no character present in this cell

 

  • "Prize"- The avatar may move into this cell. If it does, the SCORE of the player will increase by 25 points

 

  1. Must be denoted by a "P"
  2. There must be AT LEAST 5 prizes in the maze
  3. For possible extra points, add a variety of prizes in the game, whereby each prize type awards a different number of 
    points. If this option is chosen, use a symbol(s) besides the hash for the alternate prizes.
  4. Once a prize is "collected", it is removed from the maze

 

  • "Exit" - When the avatar reaches this cell, the game is over and the score is final

 

  1. Must be denoted by an "X"
  2. There must be exactly one Exit in the maze

 

  • "Avatar" - One cell will contain the current position of the player's avatar. Obviously, the location of this cell will change as the player moves the avatar around in the maze using the keyboard.

 

  1. Must be denoted by an asterisk "*"
  2. There must be a starting position for the Avatar within the maze.

 

4.     While encoding the maze within the program itself is an option, extra points may be awarded if the program reads the maze from an input file instead.

 

5.     For extra points, use different colors to denote walls, prizes, the Exit, and the player's avatar.

 

4.     Timer

 

  1. There must be a timer present in the game. The timer is meant to determine how long it takes the player to get from the starting point to the exit of the maze. The timer shall denote the number of seconds elapsed before the exit is reached.
  2. The timer's current value must be refreshed on the game screen roughly every second.

 

5.     Score

 

  1. The player's score shall be initialized to 100.
  2. For every second elapsed (using the Timer), the score is DECREASED by 1.
  3. For every prize that is "collected", the score is INCREASED by 25 (or by a variable amount, if variable prizes are implemented)
  4. When the player's avatar reaches the maze exit, the score is final and the timer stops.
  5. The score must be refreshed on the game screen every time it changes (due to a prize collection, the timer increasing, etc)
  6. Extra points may be awarded if a "high score" is maintained persistently (using a file) across game sessions.

 

  • Further extra points may be awarded if a player's name is associated with a high score
  • Further extra points may be awarded if the TOP 10 scores (instead of the "highest score") is maintained
  • Any extra points are contingent on the high score(s) being displayed to the player either on the game screen itself, or both before and after the game is played.

 

6.     Deliverables

 

  1. A playable game satisfying the conditions above.
  2. Completely commented assembly language source code for the game.
  3. A 1-page narrative identifying the role that assembly language plays and the specific benefits of using it in video game development.
  4. Any supporting files, as necessary, such as possibly a high-score file, a maze file, etc.

Reference no: EM13347670

Questions Cloud

You are to design and fir filter where the filter : you are to design and fir filter where the filter coefficients are the following numbers 3323939therefore the
Problem 1 we can evaluate the target wacc for apex printing : problem 1. we can evaluate the target wacc for apex printing given these assumptionsbullweights of 40 debt and 60
Question 1 consider the functions f g and h all defined on : question 1 consider the functions f g and h all defined on the set 0 1 2 3 ... 12i write down the values of ghf8 and
Systems research and investigate novel ideas and : systems research and investigate novel ideas and applications.write a research report outlining the architecture and
Project 1 requirementsnbspthis project requires you to : project 1 requirementsnbspthis project requires you to program a maze-type game using assembly language. it is not
1 explain the basic features of electricity at a : 1. explain the basic features of electricity at a fundamental level?2.what part of a cable are insulators and
Answer both question 1 and 2question 1consider an investor : answer both question 1 and 2question 1consider an investor who has the von neumann-morgenstern utility
This project is for designing and developing a college : this project is for designing and developing a college registration program. prepare a java program to register
Prepare an assembly program that reads in a number of cents : prepare an assembly program that reads in a number of cents. the program will write out the number of dollars and cents

Reviews

Write a Review

Application Programming Questions & Answers

  In this project you will create an application to run in

in this project you will create an application to run in the amazon ec2 service and you will also create a client that

  Imagine that your company has decided to expand to the web

imagine that your company has decided to expand to the web. you want to reuse some data entry code that has been

  1 here is a short program it prints out the value of a

1. here is a short program. it prints out the value of a variable x. ernie and bert disagree about what will be printed

  If the user wants to read the input from a file then the

if the user wants to read the input from a file then the output will also go into a different file. if the user wants

  Question 1we are given the following knowledge base of

question 1we are given the following knowledge base of travel informationnbspbycaraucklandhamilton.

  Basic requirementsscreen one has three edittext views and

basic requirementsscreen one has three edittext views and one button.the edittext views allow you to enter a students

  Create a application using the mvc architecture no

create a application using the mvc architecture. no scripting elements are allowed in jsp

  Rtl sa is a company which develops bespoke solutions for

rtl sa is a company which develops bespoke solutions for the rubber industry. they produce both rubber compound which

  Design a program that models the worms behavior in the

design a program that models the worms behavior in the subsequent scenarioa worm is moving toward an apple. each time

  Problem build a class for a type called fractionnbspthis

problem build a class for a type called fraction.nbspthis class is used to show a ration of two integers.nbsp include

  Part - 1 object-oriented designwrite a program that allows

part - 1 object-oriented designwrite a program that allows an instructor to keep a grade book. each students has scores

  Soda vending machine designnbsp design a soda vending

soda vending machine designnbsp design a soda vending machine that can deliver three kinds of soda a b and c. allnbsp

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