> For the complete documentation index, see [llms.txt](https://gitbook.arcadia.fun/colyseus-integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.arcadia.fun/colyseus-integration/arcadia-tournaments/integrate-games-with-colyseus.md).

# Integrate games with Colyseus

In this documentation we will see how to integrate games in a secure way using the [Colyseus](https://www.colyseus.io/) open source server.&#x20;

The aim is to integrate games with [OP Arcade](https://alpha.outplay.games/) and make them tournament ready.

{% hint style="info" %}
OP Arcade uses Colyseus in tournament mode to prevent the player from cheating and getting a higher score in the leaderboard
{% endhint %}

At present, Leaderboards are populated and shown for Tournament-enabled games.&#x20;

<div align="right"><img src="/files/PeiVLaBKPYRCxUzvf4ak" alt="Leaderboard Example on OP Arcade"></div>

To prevent player cheating, we must ensure that critical gameplay and score submission and computation is done on a remote server and not on player devices.

![Unsecured game all handled in the front end of the application, easy to cheat.](/files/KPe8fE7V3JP0yiWNz1yP) ![Game Logic has been moved to the server](/files/UnV0nkK92mvFGqzAfweo)

To this end, [Colyseus](https://www.colyseus.io/) game server technology was selected as a mature, stable, documented, and open source platform.
