> For the complete documentation index, see [llms.txt](https://kree.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kree.gitbook.io/documentation/core-components/game.md).

# Game

This is the most major component most of the operations starts here such as game loop

> Component Author: [Jabo](https://github.com/jabo-bernardo)\
> Release Date: April 11, 2020

{% tabs %}
{% tab title="Usage" %}

```java
new Game(Window window);
```

{% endtab %}

{% tab title="Methods" %}

```java
start(); // Start the game loop

stop(); // Close the game

getWindow(); // Returns Window object

setDebug(boolean debug); // Set debug mode
```

{% endtab %}
{% endtabs %}
