> For the complete documentation index, see [llms.txt](https://docs.settlers-united.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.settlers-united.com/s4-lua-api-de/library-functions/game/game.defaultgameendcheck.md).

# Game.DefaultGameEndCheck

## `Game.DefaultGameEndCheck()`

Überprüft, ob das Spiel entschieden ist. Wenn ja, erscheint die Nachricht, das dass Spiel gewonnen bzw. verloren wurde.

#### Rückgabewert

True oder False

#### Beispiel

```lua
Game.DefaultGameEndCheck()
```
