Requirementsthis project requires you to program a

Assignment Help Assembly Language
Reference no: EM13371333

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 - Must be denoted with a hash sign "#"
  • "Empty"- The avatar may move into this cell with no other effects - 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 Must be denoted by a "P" and There must be AT LEAST 5 prizes in the maze, 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 and once a prize is "collected", it is removed from the maze

           4. "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

        5. "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.

                  1. Further extra points may be awarded if a player's name is associated with a high score
                  2. Further extra points may be awarded if the TOP 10 scores (instead of the "highest score") is maintained
                  3. 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: EM13371333

Questions Cloud

Compute the mean median mode and standard deviation for the : compute the mean median mode and standard deviation for the following discrete probability distribution.value of
Car park system analysis and designthis system must provide : car park system analysis and designthis system must provide for the day-to-day operation for car park-issuing tickets
A sample of data on daily prices of three petrol stations : a sample of data on daily prices of three petrol stations over a two week period have been collected in the table
1select two of the following scenarios explain why you : 1.select two of the following scenarios. explain why you selected each and give an example of how statistics might be
Requirementsthis project requires you to program a : requirementsthis project requires you to program a maze-type game using assembly language. it is not acceptable to use
1 the ordered pair x y is a subset of x y justify your : 1 the ordered pair x y is a subset of x y. justify your
1nbsp show that for a continuousft ht1o tgt0 is a constant : 1nbsp show that for a continuousft ht1o tgt0 is a constant i.e. not dependent on t if and only if t follows an
1a normal distribution y has mean 50 and standard deviation : 1.a normal distribution y has mean 50 and standard deviation 8. find pylt44.2.a normal distribution y has mean 50 and
Review case study - crime and punishmentdisciplining : review case study - crime and punishmentdisciplining employees is perceived generally by supervisors as a difficult and

Reviews

Write a Review

Assembly Language Questions & Answers

  Assembly-language program

Write an assembly-language program to add each element of list1 to the corresponding element of list2 and store it in the same location of list2. Use a loop.

  Create a strcat procedure

Create a strcat procedure (like C's strcat function). Your procedure will be given the addresses (using the method presented in Chapter 8) of two string arrays.

  Create a program that uses ia-32 assembly language

create a program that usesIA-32 assembly language. It converts integers in the array X to its hex string ad save its to array Y in the respictive locations.

  Write a complete well documented assembly language

write a complete well documented assembly language program (starts at $C000) that counts the number of 1s in each byte in a list. The LIST_IN starts at $C100 and it has 12 bytes ( create your own random bytes for the list). The results (count of 1s) ..

  Register address machine

Express the statement X= (A*B)-(C*D)-E in the assembly language of each of 0- memory address machine, 3-register address machine with 3 registers R1,R2,R3, and 2-memory-register-address machine with three registers R1,R2, R3. Your solution should use..

  Analog measurements

Prepare an assembly program for the correctly measures the wind direction

  Create simple 8-bit alu using add-subtract-shift functions

Create a simple 8-bit ALU. Requirements:The eight functions that you will implement are: add, subtract, and, or, shift left logical, less than, shift right logical.

  Write a single arm assembly language instruction equivalent

Write a single ARM assembly language instruction equivalent to a function that takes in three strings and checks if any are a substring to one another, if so return 1, if not return 0.

  Write an assembly program

Prepare an Assembly program that reads in a number of cents.

  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

  Program [hcs12 assembly language] to compute the average

Write a program [HCS12 assembly language] to compute the average of an array of N 8-bit numbers and store the result at $1000

  Displays a single character at 100 random screen

Write a program that displays a single character at 100 random screen locations, with a delay factor of 100 milliseconds.Hint: set the console window screen height to 200 at runtime.

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