a-roy / pacman-mp Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Pac-Man's alignment with the tiles changes slightly depending on which direction he is facing.
Ghosts should flash white when their fright is running out.
When a client disconnects, the server should end the game.
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.
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 is supposed to be variable based on several factors.
When ghosts die, they should turn black/transparent and automatically move back to the starting box before turning control back over to the player.
It would be nice if we could have multiple fields/stages and allow the server to select between them.
The game should end when any of the appropriate game end conditions are met.
We send PingServer every frame, so there's no need to explicitly send a new message when a client is ready or not ready.
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.
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.
The server crashes if it attempts to start a game with an empty lobby.
Players should be able to choose colors for their characters. It would also be good if the server could enforce color uniqueness between players.
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 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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.