Loading...

What is Rune SDK?

Rune is a platform to run and deploy web applications on mobile phones. It's basically an application that let players play with randoms/friends games that people can make and upload there.

Using React to create a game

Rune made it really simple to create a a game template using React with their cli

npx rune-games-cli@latest create

Is all you need to get started.

Game logic

In a game of Rune, you have to include logic.js file which will contain the shared state across players, the amount of players in the game, actions to mutate game state and optional update function which will run every amount of time you decide on.

After initializing the logic, you will have to create a game state in the clients which will update every logic game change using useEffect .

That's it !

Rune will handle the joining system, finding matches, playing with friends and all the servers. All you have to do is upload the game using the commands provided.

Here are the docs to learn more.