I saw a similar game on Newgrounds years ago, but it just had a single player AI and I wanted to make it multiplayer.

What it does

You can battle your friends by shooting beams at each other.

How I built it

I set up a node server running express and used EaselJS for rendering.

Challenges I ran into

Online multiplayer was tough to get working. I planned from the start to "shift" to networked multiplayer

Accomplishments that I'm proud of

Getting online multiplayer to work.

What I learned

I learned a ton about how to properly design networked games (especially in a rush!) and made mistakes along the way. Some of those mistakes are in my code!

What's next for Beam Battles

I hope to expand the rules so that beams indirectly collide as well (so you can form protective walls with beams) and use typed arrays to significantly reduce the bandwidth it uses to transmit the game state. I also want to clean up the networking code.

Share this project: