Triaxes, created by the awesome coder Ben Herbst, is a multiplayer online game created in under 24 hours!
You now may ask how is that even possible, to create a full online multiplayer game in so less time, and here are the powerful tricks used to create it:
Using the fastest to develop libraries and tools that are on the market
Ben used Nuxt and Supabase.
As it is an online game, there needed to be SSR features to get good into google and an ui for creating and joining rooms. @nuxt/ui is just perfect for these features!
Now, multiplayer features are a lot of code to write in something like node.js and need fast and good real-time sync.
Supabase provides this as a platform with very less code. It is fast enough for this kind of games and the game updates every 100 milliseconds.
Every change and player joins etc. are broadcasted to every other clients, this making the real-time game possible.

Supabase

Nuxt 3
How does the game logic code work?
The whole game logic is written using Pixi.js and basic maths, like Sinus and Cosines.
It just uses basic OOP and JavaScript, and there is no other library required for the base game logic. It is simple: render every frame, check input etc.
If you want to find out more about it, ask me in the comments or somewhere else, and I am going to explain the logic fully too!
How to play?
Go on https://triaxes.benherbst.net/, enter a room number in "Create a room", and click create.

Then you tell your friends that room ID, they also go on https://triaxes.benherbst.net/
and enter the ID, but this time into the “Join Room” card:

You can move around by using your arrow keys or "WASD", and you can shoot by clicking the space key! The goal is simple: Destroy all other players!

Start playing
Just head over to https://triaxes.benherbst.net/ and play it with your friends. Go and create a room and let them join!

