What it does
game.over takes message. message is optional.
Signature
game.over(message?)Arguments
messageoptional
Example · generated
function start() { game.over('Hello');}game.over is called with values of the shape its signature asks for. The code sits in start(), which the engine calls once, when the entity spawns.