Skip to content

Game Engines

Ryan edited this page Mar 18, 2019 · 1 revision

Game Engines

As previously mentioned, XAYA supports any game engine, such as Unreal Engine or Unity.

In essence, there are 3 components to games on XAYA.

  1. XAYA daemon
  2. Game State Processor (GSP)
  3. Front end

Game State Processor

You will be developing both the game logic in the GSP and the front end with your games.

The front end can be developed in any language or with any engine you like. The same is true for the GSP although we only provide C++ examples and C# using our provided wrapper.

Your users can play your game in a decentralised way or through a relay service.

In a decentralised way, your front end will send transactions to the xaya daemon and receive your current CHI balance, whilst receiving the state of the game and other information from the GSP.

It's also possible to host the GSP with the XAYA daemon on a centralised server so that clients can receive the game state and have their transactions (game moves) forwarded to the blockchain while not having to download the full blockchain locally. This will work especially well for mobile clients.

More tools to simplify these processes will be coming.

Clone this wiki locally