Skip to content
This repository has been archived by the owner on Nov 11, 2018. It is now read-only.

A team implementation of Pac-Man. All software engineering best-practices are used during development

License

Notifications You must be signed in to change notification settings

0x326/miami-university-cse-201-group-project

Repository files navigation

Pac-Man™ for the Web

This project was bootstrapped with Create React App, a commandline utility for creating webapps with React (a JS library). The code is written in TypeScript, a typed superset of JS. It uses Immutable data structures as well as Request for HTTP requests.

Team Members

  • John Meyer
  • Noah Dirig
  • Laurel Sexton
  • Goat Knox Kelly

Features

  • Supports HiDPI displays
  • Looks like an authentic game of Pac-Man
  • Simple controls (using ASDW keys)
  • Displays running score
  • Displays a list of all your scores
  • Ghosts have logic to do their desiged tasks
  • Pac-Man's mouth open and closes as it moves eating pellets
  • Ghosts are smart enough to move away when Pac-Man eats a power pellet and turns blue for a decreasing amount of time as levels progress
  • When Pac-Man dies you have the option to play another game or quit

Scripts

To compile this project yourself, it's preferred to have Yarn installed.

First, install dependencies:

yarn

Then, build the project:

yarn build

Finally, upload to a web server or start your own with Serve:

serve -s build

Contributing

For Create React App related items, see this guide.

Make to have the correct Global .gitignore file for your IDE or text editor. See here for details.

License

This project is released under the MIT license, except for the images located in src/Images/. Such images are copyright 1980 of BANDAI NAMCO Entertainment Inc and constitute fair use under U.S. copyright law. However, should one contribute original images to replace these fair use images, the new images will be released under this project's license.

Development Scripts

  1. yarn: Installs dependencies
  2. yarn start: Starts a live development server, reloads automatically
  3. yarn test: Runs test cases (files with .test.ts or .test.tsx extension)
  4. yarn lint: Makes sure code is formatted correctly
  5. yarn build: Builds a production version of the code