Add it to an Altspace world
- On the website: edit your world on altvr.app, open Snippets on the left, choose All, then pick Blackjack.
- In Unity: add an empty GameObject, click Add Component > BS > Snippet and type
blackjack.
Add it with a script tag
Paste this into a Banter space's HTML, or into an Altspace world's Assets/WebRoot/index.html (outside the snippet section). Give each copy its own instance to have more than one game in a space.
Script tag
<script src="https://blackjack.firer.at/blackjack.js" position="0 0 2" rotation="0 180 0" instance="lobby-bj"></script>
All the settings are listed on GitHub.
Features
- Hit, stand, double down and split
- Chips and bets per player
- Host migration and disconnect handling
How to play
- Click JOIN to take a seat.
- Place your bet, then play your hand: hit, stand, double down or split.
- The dealer plays by standard rules once everyone is done.