We're Participating in #Hacktoberfest2024! 🤩 Check out our open issues and help us simplify multiplayer game development!

Serverless Multiplayer Infrastructure for JavaScript Games

Accelerate your game development and deliver faster by abstracting the backend complexities with Movex—made for JavaScript Game Developers.

Serverless
Movex manages the network logic, state-sharing protocols, server deployment and maintenance, along with various other essential functionalities.
Learn More
Realtime
Movex utilizes the Observable Pattern to monitor state changes in registered resources and promptly notify the UI layer.
Learn More
Private State
At times, certain parts of the state need to remain hidden from peers until the right moment to reveal them—much like a game of cards.
Learn More
Authoritative Server
To safeguard app logic from potential bad actors, it is processed on the server while remaining abstracted from the developer.
Learn More
Efficient Data Flow
Movex ensures that only the minimum required data is transmitted with each update, optimizing performance.
Learn More
Open Source
Movex is fully open source, inviting developers to contribute and collaborate! Your input is welcome as we build a robust and dynamic community around this project.
Learn More

Try Movex with a game of Rock-Paper-Scissors

Although very basic, this example showcases all the features that makes Movex unique: Authoritative Server, No Server Code, Private State, Realtime Updates and of course Type-Safety. Feel free to look over the code below.

Note: A special MovexLocalMasterProvider is used here to allow the "Master Server" to run in the browser for demo purposes only.

FAQs

What does "No Server Code" or "No Server Hassle" really mean?
This means you, the developer, don’t need to write, build, distribute, or maintain any server code. Your focus is solely on client-side/local code, as if you were developing for a single player or user, while Movex seamlessly manages the server component for you.
See more here
How can there be "Server Authoritative" without a server?
Spot on, detective! There is indeed a server running, but it’s fully abstracted by Movex and movex-service, so you can focus on development without any hassle.
See more here
What can I build with Movex?
Movex employs Deterministic Action Propagation to seamlessly transmit Actions (small bits of data) between clients and servers. This approach is particularly effective for games or applications with infrequent state changes, such as turn-based games (e.g., Age of Empires). However, it may not suffice for fast-paced shooter games or applications requiring extensive user input transmitted over the network. Future enhancements are in the works to address these needs as well!
Read more about Deterministic Propagation
Can I use Movex with React?
Yes. Just use `movex-react`.
See how

Community

Join our community to get help, share your projects, and even contribute to the project!