Question

Title: Term Project for Week 13, 14, 15 Objective: Developed a Pacman game to read/print the...

Title: Term Project for Week 13, 14, 15

Objective: Developed a Pacman game to read/print the map as it was laid out in the game map and subsequently consume the possible $ points laid out in the game map via user input. Alternatively, if you want to work on your own problem similar to the scope we have defined for this term project, you may submit your proposal for approval.

Activity:

* You must apply software design using top/down and bottom up approaches and describe in the term project report.

* Please form a team with 2-3 members at most or you can work on the problem individually.

* Please let me know your team member by Week14.

Part I:

Create a text file contains the sample Pacman game map illustrated below; you will need to create two variations of game maps. Each game map should contain 6-8 $points and a Pacman symbol using @ and divide the space using * as the boundary of the wall with 12 X 12 setting for the minimum resolution of the game.

  

   Your program should be able to load the game map text file into memory

Your program should be able to print the game map on the system console.

Your program should be able to list out the position (address) of @ and positions of $ based on the map.

Create your own version of the game map in a text file and repeat steps 2-4; your own map should have very clear spacing and available path for all the $ to be consumed by the @ in the later exercise.

Part II:

From part I, the map symbol corresponding the character of the game

‘@’ pacman; the user controlled character

‘*’ wall; boundary of the map where the movement of pacman shall be confined by the wall

‘$’ ghost; the target that pacman going after

‘#’ de-ghost; ghost converted character once touched by pacman

Create a game menu for Pacman which should contain the following options

Start new game (S)

Print Map (P)

Move Up (U)

Move Down (D)

Move Left (L)

Move Right (R)

End game (E)

Menu item a) should load the new map from file

Menu item b) should print the map with current game state

Menu item c) should move the pacman one position UP on the map if allowed.

Menu item d) should move the pacman one position DOWN on the map if allowed

Menu item e) should move the pacman one position LEFT on the map if allowed.

Menu item f) should move the pacman one position RIGHT on the map if allowed

Menu item g) will end the game and exit the program.

Once user has consumed all the ghost symbol, the game session considered over and the only option that user can do on the menu should be {S, P, E}

0 0
Add a comment Improve this question Transcribed image text
Answer #1

oV vs log A B → |-Qual expression eo used c to-v → STEPS : for

Add a comment
Know the answer?
Add Answer to:
Title: Term Project for Week 13, 14, 15 Objective: Developed a Pacman game to read/print the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • CECS Project 1 RPS (Rock-Paper-Scissors) Game Use python This project asks you to practice . creating...

    CECS Project 1 RPS (Rock-Paper-Scissors) Game Use python This project asks you to practice . creating a new python file using pycharm . doing text- based input and output building your own algorithm using branching and loop Your program should operate as follows It must let the user choose from among three options of rock, paper, and scissors It shall play an honest game of RPS Display the choice the user made . If the user input is not one...

  • ​​​​​​This program will make Maze game. Please Help in c++ Prompt the user for a file...

    ​​​​​​This program will make Maze game. Please Help in c++ Prompt the user for a file that contains the maze. Read it into a two-dimensional array Remember you can use inputStream.get(c) to read the next character from the inputStream. This will read whitespace and non-whitespace characters Don’t forget to read the newline character at the end of each line Print the maze to the screen from your array You should include a ‘*’ in your maze to indicate where the...

  • Problem 1 - Print positive message Create a new project named whatever you want in Visual...

    Problem 1 - Print positive message Create a new project named whatever you want in Visual Studio using the Windows Desktop Wizard or in Xcode. If you're using Visual Studio, add a main.c file to your project; you can use the main.c template I provided on Canvas if you'd like. If you're using Xcode, Xcode automatically generates a main.c file for you. Read in an integer from the user; don't prompt for the user input, because that will confuse the...

  • in c++ please Page 1 of 3 (PRO) Project Assignment Instructions Last Charged: 6/1/2020 Read and...

    in c++ please Page 1 of 3 (PRO) Project Assignment Instructions Last Charged: 6/1/2020 Read and follow the directions below carefully and perform the steps in the order listed. You will be solving one program as instructed and turning in your work electronically via an uploaded file within Eagle Online/Canvas and copy & paste the program to the Text Entry box as well. Make sure and check your work prior to uploading the assignment (NOTE: For Steps 1 & 2...

  • *Java* You will write a program to do the following: 1. Read an input file with...

    *Java* You will write a program to do the following: 1. Read an input file with a single line of text. Create a method named load_data. 2. Determine the frequency distribution of every symbol in the line of text. Create a method named 3. Construct the Huffman tree. 4. Create a mapping between every symbol and its corresponding Huffman code. 5. Encode the line of text using the corresponding code for every symbol. 6. Display the results on the screen....

  • C++ Hangman (game) In this project, you are required to implement a program that can play...

    C++ Hangman (game) In this project, you are required to implement a program that can play the hangman game with the user. The hangman game is described in https://en.wikipedia.org/wiki/Hangman_(game) . Your program should support the following functionality: - Randomly select a word from a dictionary -- this dictionary should be stored in an ASCII text file (the format is up to you). The program then provides the information about the number of letters in this word for the user to...

  • Game Of life 1. Change the size of the arrays: const int MAX_ROW = 40; const...

    Game Of life 1. Change the size of the arrays: const int MAX_ROW = 40; const int MAX_COL = 80; ***Make sure that only global variables you have in your program are Max_ROW and MAX_COL. Move any global variables you declared to a function or functions. ***Make sure to update setNextGenArray(). Use the variable names, not 40 or 80. ***For testing, I will be changing the array size. Your program should work by only modifying the array size. 2. Use...

  • For your Project, you will develop a simple battleship game. Battleship is a guessing game for...

    For your Project, you will develop a simple battleship game. Battleship is a guessing game for two players. It is played on four grids. Two grids (one for each player) are used to mark each players' fleets of ships (including battleships). The locations of the fleet (these first two grids) are concealed from the other player so that they do not know the locations of the opponent’s ships. Players alternate turns by ‘firing torpedoes’ at the other player's ships. The...

  • Programming Project 3 See Dropbox for due date Project Outcomes: Develop a Java program that uses:...

    Programming Project 3 See Dropbox for due date Project Outcomes: Develop a Java program that uses: Exception handling File Processing(text) Regular Expressions Prep Readings: Absolute Java, chapters 1 - 9 and Regular Expression in Java Project Overview: Create a Java program that allows a user to pick a cell phone and cell phone package and shows the cost. Inthis program the design is left up to the programmer however good object oriented design is required.    Project Requirements Develop a text...

  • Programming Assignment 6: A Python Class, Attributes, Methods, and Objects Obiectives .Be able to...

    I need some help with programming this assignment. Programming Assignment 6: A Python Class, Attributes, Methods, and Objects Obiectives .Be able to write a Python class Be able to define class attributes Be able to define class methods .Be able to process input from a text file .Be able to write an application using objects The goal of this programming assignment is to develop a simple image processing application. The application will import a class that creates image objects with...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT