# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gitbook.arcadia.fun/colyseus-integration/arcadia-tournaments/integrate-games-with-colyseus.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
