How to Embed Banter Games
Adding these games to your Banter space is simple. Just add a <script> tag to your space's HTML pointing to the game's URL.
Common Configuration
All games support the following URL parameters to control their placement and behavior:
| Parameter | Default | Description |
|---|---|---|
instance |
(Page URL) | Highly Recommended. A unique ID (e.g., ?instance=lobby-chess) to separate multiple games in the same space. |
boardPosition |
0 1.1 0 | Position of the board center in world space (x y z). |
boardRotation |
0 0 0 | Rotation in Euler angles (x y z). |
boardScale |
1 1 1 | Scale of the entire game object. |
hideUI |
false | Set to true to hide the floating reset/control buttons. |
Note: Parameters are space-separated (e.g., 0 1.5 -3). In URLs, spaces can be written as %20 or +.
Banter Checkers
Classic checkers with forced jumps and king promotion.
<script src="https://banter-checkers.firer.at/checkers.js?instance=checkers&boardPosition=0 1.1 -2&boardScale=1"></script>
GitHub
Banter Chess
3D serverless chess with move validation.
<script src="https://banter-chess.firer.at/Chess.js?instance=chess&boardPosition=0 1.1 -2&lighting=lit"></script>
GitHub
Banter Reversi
Othello-style disk flipping strategy game.
<script src="https://banter-reversi.firer.at/Reversi.js?instance=reversi&boardPosition=0 1.1 -2&hideUI=false"></script>
GitHub
Banter Connect 4
The vertical four-in-a-row strategy game. Supports custom models.
<script src="https://banter-connect4.firer.at/Connect4.js?instance=c4&boardPosition=0 1.1 0&useCustomModels=true&lighting=lit"></script>
GitHub
Banter Go (Weiqi)
Full-featured Go with liberties, ko rule, and suicide prevention.
<script src="https://banter-go.firer.at/Go.js?instance=go&boardSize=19&boardPosition=0 1.5 0&scoreboardPosition=0 2 -2"></script>
GitHub
Banter Gomoku
Five-in-a-row on a Go board.
<script src="https://banter-gomoku.firer.at/Gomoku.js?instance=gomoku&boardSize=15&boardPosition=0 1.5 0"></script>
GitHub
Banter Mancala (WIP)
Ancient stone-moving game. Capture opponent's stones.
<script src="https://banter-mancala.firer.at/Mancala.js?instance=mancala&boardPosition=0 1.1 -2&lighting=lit"></script>
GitHub
Banter Tic-Tac-Toe
Simple 3x3 game for quick decisions.
<script src="https://banter-tic-tac-toe.firer.at/TicTacToe.js?instance=tictactoe&boardPosition=0 1.2 0&boardScale=1"></script>
GitHub