CodeNewbie Community 🌱

Cover image for Mantra, Serverless Game Development Framework

Posted on

Mantra, Serverless Game Development Framework

Hello friends. I've been working on a new JavaScript game development framework called Mantra.

Mantra allows you to develop video games quickly in JavaScript. Mantra games run offline or can seamlessly be deployed and autoscaled to the cloud for massive multiplayer. We handle all the physics, graphics, and high-performance networking code complexities.

There are many live code examples provided at our Github repo:

There are interactive code examples on CodePen

To give a quick example, you can start a game by embedding this script on any HTML page:

<script src=""></script>
  document.addEventListener('DOMContentLoaded', (event) => {
    let game = new MANTRA.Game();
    // optionally use plugins like Bullet
    game.use(new MANTRA.plugins.Bullet());
Enter fullscreen mode Exit fullscreen mode

Mantra is currently in ALPHA, and I would love to get some early contributors to the project!

If anyone is interested in testing the project, providing feedback, or landing some Pull Requests, please do not hesitate to reach out.

Come join the AYYO Discord if you have any questions!


Top comments (1)

euse44 profile image

Three Patti is a highly engaging card game that offers hours of entertainment and fun for players. Whether playing with friends at a social gathering or online with players from around the world download apk, the game's unpredictable nature keeps players on their toes and adds an element of excitement to the gameplay.