iscsc / haunted-chronicles Goto Github PK
View Code? Open in Web Editor NEWA small project to discover online multiplayer games.
A small project to discover online multiplayer games.
Deploying the game on the remote server would be a great improvment from the game!
We could then had logging and scores to each player.
Or also add the possibility to host several games at once, and decide which one you want to join.
Make pygame render characters other than just western one
Find a real name for the game.
Prepare real logs which will be very useful for both local debugging and distant debugging (when the server will be distant)
Will make debugging really more pleasant
Make players be able to move diagonally.
Make the collision detector be smarter : moving you to the closest position to the obstacle when a collision is detected, rather than just blocking the whole movement.
Verify that the game uses UDP protocol for communications.
If not, implement it.
This link may be useful to do so : https://wiki.python.org/moin/UdpCommunication
Protect the server from connections abuses.
First Idea : Using a UDP Connection, the game should be fluider.
Yet, the UDP connection also brought a lot of instabilities because of the DDOS some clients may inflict on the server.
Main objective : reduce ping while not making the game feel laggy.
Two ideas :
We may need to use json interpreter instead of our custom interpreter as the complexity of our game increase and the amount of Class to save and transmit increase.
It would also be easier to save maps in a file for instance. (Or we could do it ourselves.)
Stop storing ip in the player class.
Use their socket to identfy them.
Use it to check if the correct player sends inputs.
Ip should be used for a single player only to prevent connections issues.
Use a boolean during development to allow us to use multiple players with the same ip for our tests.
The server keeps on accepting new connections even when the deaf command is used.
the read me is absolutely not to date
Certain functions behave differently (notably in pygame and socket) in Windows or Linux:
Make a prototype of the game playable to test main features.
How it could be done :
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.