How to Embed Banter Games
Banter games are simple to embed. Just insert a <script> tag into your space's HTML. Configuration can be done via HTML Script Attributes (recommended) or legacy URL Query Parameters (for backwards compatibility).
1. Board Games
Used by: Checkers, Chess, Reversi, Connect 4, Go, Gomoku, Mancala, Tic-Tac-Toe. Options can be written as script attributes (e.g. position="...") or appended as URL query parameters in the src URL.
Parameters (URL Query)
| Parameter | Default | Description |
|---|---|---|
instance |
(Page URL) | Unique room state (e.g. ?instance=lobby-chess). |
boardPosition |
0 1.1 0 |
3D position coordinates (x y z). |
boardRotation |
0 0 0 |
Euler rotation angles (x y z). |
boardScale |
1 1 1 |
Scale size of board objects. |
hideUI |
false |
Set true to hide reset/undo buttons. |
Note: Separate coordinates with spaces (encoded as %20 or + in URLs).
2. Attribute-Configured Games
Used by: Blackjack, UNO, Rummy10, Holograms Against Humanity (HAH). Options are written directly as attributes on the script tag itself.
Parameters (Script Attributes)
| Attribute | Default | Description |
|---|---|---|
instance |
(Game specific) | Unique room state (e.g. instance="lobby-uno"). |
position |
0 0 2 |
3D coordinates where table is spawned (x y z). |
rotation |
0 0 0 |
Euler rotation of table (x y z). |
debug |
false |
Set to "true" to enable developer logging. |
Note: Coordinates are standard space-separated attributes.
Available Game Scripts
Banter Checkers
Classic checkers with forced jumps, turn validation, and automatic king promotion.
<script src="https://banter-checkers.firer.at/checkers.js" instance="checkers" position="0 1.1 -2" scale="1 1 1"></script>
Banter Chess
3D serverless chess featuring real-time move validation and custom lighting options.
<script src="https://banter-chess.firer.at/Chess.js" instance="chess" position="0 1.1 -2" lighting="lit"></script>
Banter Reversi
Othello-style disk flipping strategy game with a reactive interface.
<script src="https://banter-reversi.firer.at/Reversi.js" instance="reversi" position="0 1.1 -2" hide-ui="false"></script>
Banter Connect 4
Vertical four-in-a-row checker-dropping game. Includes support for custom board models.
<script src="https://banter-connect4.firer.at/Connect4.js" instance="c4" position="0 1.1 0" use-custom-models="true" lighting="lit"></script>
Banter Go (Weiqi)
Full-featured board game of Go. Implements liberty tracking, ko rule validation, and suicide prevention.
<script src="https://banter-go.firer.at/Go.js" instance="go" board-size="19" position="0 1.5 0" scoreboard-position="0 2 -2"></script>
Banter Gomoku
Five-in-a-row alignment game played on a Go grid board.
<script src="https://banter-gomoku.firer.at/Gomoku.js" instance="gomoku" board-size="15" position="0 1.5 0"></script>
Banter Mancala
Traditional stone sow-and-capture game (Work in Progress).
<script src="https://banter-mancala.firer.at/Mancala.js" instance="mancala" position="0 1.1 -2" lighting="lit"></script>
Banter Tic-Tac-Toe
Simple 3x3 grid game, perfect for quick decisions and simple layouts.
<script src="https://banter-tic-tac-toe.firer.at/TicTacToe.js" instance="tictactoe" position="0 1.2 0" scale="1 1 1"></script>
Banter Blackjack
Multiplayer Blackjack for Banter VR spaces. Supports 1-7 players, turn handling, host migration, Split, and Double Down options.
<script src="https://blackjack.firer.at/blackjack.js" position="0 0 2" rotation="0 0 0" instance="lobby-bj"></script>
Banter UNO
Classic multiplayer UNO cards fully synchronized for Banter VR. Supports 2-10 players, turn management, and special card actions.
<script src="https://uno.firer.at/uno.js" position="0 0 2" rotation="0 180 0" instance="lobby-uno"></script>
Banter Rummy10
Multiplayer Rummy10 card game for Banter VR. Supports 2-10 players with automatic hand dealing and real-time state sync.
<script src="https://rummy10.firer.at/rummy10.js" position="0 0 2" rotation="0 180 0" instance="lobby-rummy10"></script>
Holograms Against Humanity
Serverless Cards Against Humanity clone for social VR spaces. Runs client-side using space state properties. Supports up to 10 players and over 70 expansions.
<script src="https://hah.firer.at/hah.js" position="0 -0.4 -5" instance="demo-game"></script>