hagesjo / bomberman-server Goto Github PK
View Code? Open in Web Editor NEWA websocket bomberman server written in python
License: MIT License
A websocket bomberman server written in python
License: MIT License
Use the very simplistic frontend-API to create a frontend-application.
Documentation for dependencies and setup-steps.
Hello, friend!
I'm looking for a bomberman server, could you help me, please? Looks like your project is good enough for me, but I've got a trouble understanding a protocol between client and a server.
Could you provide a working example of client.py? Right now I've got this when I try to move player somewhere:
Server:
2017-04-12 18:06:59,219 INFO Client sent message: {"type": "move", "direction": "down", "plant_bomb": false}
Client:
mdown
>
And nothing happens.
If possible, this should be a better solution I think.
Right now, when checking what's on a tile, all dicts of objects has to be gone through in order to find what type of object is on the tile.
There's not really a performance issue with the current solution, (O(n) where n is total number of types of objects), but the code gets a bit repetitive and ugly on these checkups.
I'm still not sure if this actually is needed though.
Right now, all players who register will be registered into a single game. They should be able to join different games.
This is of course a must-have feature, and shouldn't be too hard to implement.
Make clients be able to register as spectators (so the server doesn't wait for a move from that player within a game) to make frontend-applications able to show games in real-time.
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.