Git Product home page Git Product logo

2019-pd2-pacman's Introduction

pd2-pacman

Score

  • GUI 5%
  • Dashboard 5%
  • Dots 5%
  • Power Pellets 5%
  • Pac-man 10%
  • Ghost 10%
  • Polymorphism 10%
  • Demo 50%
  • (Bonus up to 20%)

Power Pellets

  • If the ghost collide with the pac-man and pac-man has eaten power pellets
    • Pac-man eat the ghost and get the point
    • ghost die and bring back to life in a few seconds

Pac-man

  • Pac-man may keep going straight forward and player can use four keys to change its direction
  • If Pac-man collide with the ghost, game over
    • You don't need to make pac-man life, it only have one life

Ghost

  • There are four ghosts in the corner of the gameboard
  • Four ghosts should have four different algorithm to chase pac-man
    • you can take this as reference
  • If the ghost collide with the pac-man, pac-man die and game over

Polymorphism

  • You should use polymorphism technique on class Pacman and Ghost.
  • Both of them should implement method move(), and be called by pointer of base class.

2019-pd2-pacman's People

Contributors

0pei avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.