Inspiration

Lag is the single most annoying aspect of online gaming -- the smallest bit of lag can completely ruin any game. We wanted to get rid of its effects without having to invest in any extra hardware.

What it does

Our game communicates with the server in 0.3 second intervals to simulate server-side lag. Once a button is pressed, a neural network (an LSTM) predicts what will happen and fills in the gaps.

How we built it

We first built a webpage with a multiplayer browser game with Vue. The back-end was a node.js server running on one of our computers.

Two of us then played the game for five minutes while logging our movement, and we used Neataptic, a machine learning library for javascript, to train an LSTM with that data. We then got the neural network to make predictions and negate the effects of lag.

Accomplishments that we're proud of

-Getting the model to generate predictions with a reasonable level of accuracy.
-Familiarizing ourselves with Vue.js
-Creating a multiplayer game without latency.

Share this project:

Updates