Skip to content

cozey7/Terabyte

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terabyte

Team Name: Terabyte Team Members: Michael Chen, Clarence Choy, Siqi Ding Last Revised: 05/25/2020

Program Purpose: After running this program, users will be able to see and play a game similar to Pacman. There will be a user-controlled character that can move in four different directions. The user tries to escape the “bad guys” while retrieving pellets across the screen to advance levels.

Target User Profile: Our targeted user profile is for anybody who is interested in playing video games or wanting to try it.

Feature List: Pacman: An entity on the board that the user can control Consumables: Pacman can eat them and gain points Ghosts: There are four ghosts on the board that try to kill Pacman Score Board: Displays the score on the top of the window

Instructions: Once the user runs the game, they will see the Pacman board with a start button on it After the user presses the start button, the game will begin The user can control Pacman’s movements using the arrow keys The user tries to escape the ghosts while collecting the pellets Once the user successfully passes or “dies”, there will be a button that says restart

Class List: Pacman.java Represents Pacman Entity.java Superclass of all entities/characters MovingImage.java Allows images to move making them look animated Consumable.java Represents a consumable on the map and is the superclass of all the consumables Ghost.java Represents the ghosts in Pacman GhostWall.java Subclass of Wall Represents the walls in the ghost box that only ghosts can pass through Wall.java Represents a wall on the map Game.java Instantiates a Board object and runs the game Board.java Contains all of the entities, consumables, walls, listeners, and logic for game interactions. Dot.java Represents a dot, subclass of consumable Powerpellet.java Represents a powerpellet, subclass of consumable EasySound.java Allows sound to be played made by Mr. Taylor Cherry.java Represents a cherry, subclass of consumable

Team Responsibility: Clarence - Work on Pacman and its user controls. Create pathfinding methods for ghosts. Michael - Focus on setting up the game board and GUI, help with entities Andy - Created the layout and interactions for different consumables on the board.

Known Bugs/Workarounds: Dots are not well organized. (Hardcode in the coordinates) We don’t know a way to randomize the board each time the user plays so it might stay the same each time (no known workarounds) Ghost pathfinding can glitch out and get stuck sometimes (no known workarounds) The game occasionally lags (no known workarounds) When the ghosts are flashing between the frightenedGhost.png and frightenedGhostFade.png, they sometimes stop moving (no known workarounds)

Key Learnings: Style and organized code are important to know what everything does Use an app to share live code so all team members can work on the same code at once

Credit List: Image Source: https://www.freepnglogos.com/pics/pacman Image Source: https://www.giantbomb.com Sound Source: http://samplekrate.com/drumkit.php?id=34 Mr. Taylor’s EasySound.java and MovingImage.java

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages