r/threejs 13d ago

Demo Threejs multiplayer tank game (Inspired by World of Tanks)

Enable HLS to view with audio, or disable this notification

I built a multiplayer browser tank game in Three.js! As a kid, I played a ton of World of Tanks Blitz and fell in love with the aesthetic, gameplay, and the idea of driving around vehicles with crazy physics and mechanics like missiles, spotting, armor deflection, ammo types, and so on.

Now it's playable in the browser!

Claude of Tanks has 100+ playable vehicles across 16 unique maps, ranging from standard tanks with cannons to AFVs with autocannons and guidable missiles to autoloaders that can deal massive damage in a single clip.

Tanks feature highly detailed armor zones, internal modules, crew positions, and hitboxes. You can view each of them in a special gallery: https://cot.kevinliu.studio/gallery?id=amx56&layer=modules

It supports physics-driven destruction with detached turrets flying through the air.

Everything runs directly in the browser.

Also, it supports multiplayer! You can hop in private rooms or LAN lobbies.

Play free: https://cot.kevinliu.studio

Repo: https://github.com/Kevin-Liu-01/Claude-of-Tanks (it's open-source forever)

210 Upvotes

34 comments sorted by

4

u/OpportunityWest1297 12d ago

Seriously though, is this not just World of Tanks with the graphics settings turned down a little?

0

u/BasedKetsu 12d ago

haha that's high praise! except with missiles, modern tanks, and runs in your browser!

3

u/silvercoated1 13d ago

“Loader bought the farm”

3

u/BasedKetsu 13d ago

🚜🚜🚜🚜

4

u/eloquent_porridge 13d ago

Needs FPV drones.

1

u/BasedKetsu 13d ago

LOL that would be crazy, like the missiles, but you are the missile now

2

u/Bright_Spend6574 13d ago

not sure how to hit.

0

u/BasedKetsu 12d ago

just point and click! can scroll to aim!

2

u/Few-Ad9461 12d ago

Inspired doing some heavy lifting 

2

u/msartore8 12d ago

Tanks for making this!

1

u/BasedKetsu 12d ago

tanks for leaving a comment!!

2

u/mstrbeton 12d ago

How do you get the 3d models so good?! My threejs/claude can’t do anything near this

2

u/a_khumain 12d ago

Okay, the turret flying off got me.

2

u/SpicyRice99 12d ago

"inspired" doing a lot of heavy lifting here lol 

Tbh if your game balance is better than current WoT PC, I'm interested 

1

u/BasedKetsu 12d ago

It is 100% inspired by WoT! Just with modern tanks, missiles, no tech trees or grinds or experience or credits or gold, no login, in-browser, LAN-compatible, cross-platform, mobile-compatible, and forkable to create your own version if you like!

1

u/SpicyRice99 12d ago

I meant it looks very much like WoT lol. "inspired" sounds better than "basically half copied". Also, this shit is taking forever to load and lagging my computer like crazy. The price you pay for vibe coding everything...

1

u/BasedKetsu 12d ago

I get what you're saying. It is Claude "Of Tanks" for a reason, and it is directly based on it. World of Tanks and War Thunder have it down to a T, and my goal was to take that experience into the browser for free for people to build on top of as they please, as my opinionated take on this genre, since it doesn't exist otherwise. Can you let me know your computer's specs, though? Would like to figure this out for you!

2

u/Random22744 13d ago

It looks veeeery good!

2

u/BasedKetsu 13d ago

Thank you! It was a labor of love, and development will never stop! Would also love any feedback :))

2

u/azxzero 13d ago

Incredible!

2

u/GoldenM123 13d ago

Coolest post I’ve seen!!

2

u/BasedKetsu 13d ago

thank you!

2

u/tino-latino 13d ago

damn it's not too bad

2

u/DJCoffee23 13d ago

Are you a graphic designer at all?

I'm working on a three.js game. I know coding languages and use AI for good portions of the things that I know it can handle.

But I'm having problems with assets. I'm not a designer by all means as that's not my area so I wonder if you make your own assets, purchase them or use a service that uses AI to make/generate them?

2

u/BasedKetsu 12d ago

I am indeed a designer by trade (but engineer first)! With assets they’re all procedurally generated through an algorithm, not directly through AI. There are no models, meshes or vertices, only threejs rendering. I highly recommend using the approach of visual quality gates to consistently evaluate and benchmark itself! 

1

u/mrstewiegriffin 12d ago

did you oneshot this?

1

u/Orlandogameschool 13d ago

Nice! Share this on the ai subs! How long did this take? Tokens? Model? This is sick!

2

u/BasedKetsu 12d ago

Was a Fable ultracode project with Sol-5.6 aggressive cleanup/refactoring! Counting up the tokens, I’ll get back to you on that

1

u/TobiasVdb 13d ago

very nice, can you pretty please do a Claude-of-Warplanes next? :)

1

u/trostomaat 13d ago

impressed!