Coder Social home page Coder Social logo

pacman-mp's People

Contributors

a-roy avatar

Watchers

 avatar  avatar

pacman-mp's Issues

Player misalignment

Pac-Man's alignment with the tiles changes slightly depending on which direction he is facing.

Flashing ghosts

Ghosts should flash white when their fright is running out.

Server states

Currently, there is only one Host state that handles all server functionality. However, we should separate the lobby and gameplay phases, so that the lobby functions are disabled after starting a game.

Cornering

Pac-Man should make his turns slightly earlier than the center of the turn, moving at a 45 degree angle for a few pixels.

Movement speed

Movement speed is supposed to be variable based on several factors.

  • Pac-Man slows down when eating pellets
  • Pac-Man may speed up when powered up
  • Ghosts slow down when frightened
  • Ghosts slow down when entering side tunnels

Ghost deaths

When ghosts die, they should turn black/transparent and automatically move back to the starting box before turning control back over to the player.

Field selection

It would be nice if we could have multiple fields/stages and allow the server to select between them.

Game end conditions

The game should end when any of the appropriate game end conditions are met.

  • Pac-Man runs out of lives
  • All pellets are eaten

Resynchronization after frame drops

If one client runs ahead of another (most likely due to one client dropping frames), then it stays ahead indefinitely, causing it to experience bigger rollbacks due to the time difference. We should detect this and make the client running ahead block frames to resynchronize.

Player collision

We need to implement collision between players. At the minimum, the collision between Pac-Man and Ghosts, where either Pac-Man or the Ghost dies based on Pac-Man's powered state, needs to be implemented.

Colors in character selection

Players should be able to choose colors for their characters. It would also be good if the server could enforce color uniqueness between players.

Separate menu controls

The menu screens should have a separate control scheme from the gameplay, so that it's not restricted to only 4 directional inputs.

Power pellets

Power pellets need to be implemented. When Pac-Man eats a power pellet, he should change his state to be powered up for a set duration, and the Ghosts should be able to read this state so that they have "scared" behavior for the duration.

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.