Skip to content
← Back to Community
Online Multiplayer Tanks
Profile icon
wg4568

So I made this using a Node.JS WebSocket server and HTML5 canvas. It used v3 of my "Elemental Engine" for the front end, which the latest (4.0) can be found here (https://github.com/wg4568/Elemental-Engine-v4.0)

The server is very minimal, and it is very easy to cheat. Fun side project would be to make a "hacked client" in a forked repl.

You also might want to play it here, https://tanks--wg4568.repl.co in fullscreen because the embedded player is very small.

Also, you can find the server here (https://repl.it/@wg4568/TankServer)

UPDATE: bullets will now bounce once on collision with a wall

Voters
Profile icon
HBthePencil
Profile icon
jca3271
Profile icon
ArchieGrzonka
Profile icon
JonatanFjeld
Profile icon
Nanowrimoijk
Profile icon
15edaniels
Profile icon
JakobNacanaynay
Profile icon
Lolman
Profile icon
JSer
Profile icon
Codeweb
Comments
hotnewtop
Profile icon
spybrave

It is too good!!!! ....Plzz increase the speed and if we could also play against AI tanks it would be just great................

Profile icon
amasad

I like how the server is a seperate repl! https://repl.it/@wg4568/TankServer

Profile icon
FunDuels

Very cool! By the way there's a bug when you are next to a wall and shoot at it.

Profile icon
CSharpIsGud

Im gonna fork this and make my own client where i die every time

Profile icon
CSharpIsGud

Kind of like roblox's filtering disabled lol

Profile icon
FerdinandBlase

i like it but maybe u could try to make tanks that u can fight against or sth like that

Profile icon
vedprad1

For some reason, when it loads, all I can do is use a cannon, and once i fire it, the screen goes blank.

Profile icon
vedprad1

@vedprad1 never mind, it works now.

Profile icon
wg4568

@vedprad1 Yeah, that happens when the server is restarting / offline.

Profile icon
Hexer

cark?

Profile icon
timmy_i_chen

I love this! Are you open to feature requests? What's next on your roadmap?

Profile icon
wg4568

@timmy_i_chen Thanks! I threw this together in like 3 hours so the code is complete spaghetti, but sure - I'll take requests. As for my personal roadmap, making it not a buggy mess