Overview
Learn the key components to setting up Panel.
Setting up Panel
Create a Panel by calling createPanel() and passing a configuration object.
import { createPanel } from "@slot-engine/panel"
import { game as MyGame } from "../../path-to/my-game"
const panel = createPanel({
games: [MyGame],
})
panel.start()createPanel() Options
| Property | Type | Description | Required |
|---|---|---|---|
games | SlotGame[] | A list of connected games. | yes |
Use of AI on this page: All texts were initially written by hand and many were later revised by AI for improved flow. All AI generated revisions were carefully reviewed and edited as needed.