- Install npm modules by running
npm install
. - Run
node Server.js
. - From any browser open
index.html
.
jungleengine / paper.io Goto Github PK
View Code? Open in Web Editor NEWA cross-platform online multiplayer game built with socket.io
A cross-platform online multiplayer game built with socket.io
in the server the player should start on his own block in a safe zone.
the client needs to advance from block to block with a fixed time step that depends only on time and not on FPS
but drawing frames needs to be smooth and the player has to advance through each block in order to prevent him from jumping over other players when the game is laggy.
when the player enters his own region the area should be filled.
Blocks should be scaled to fit a fixed number of blocks in each window
Server has different direction than that of a player.
most of the time it sends a different direction.
The action should only be applied when the head of the player is at the end of the block depending on the direction of the player the end of the block.
Here we apply the action if the player is at the end of the block or at the beginning of another one.
position % block_size
shouldn't be used.Server.js
, for each room:Simulate()
should iterate over the players.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.