A pretty cool yahtzee game in augmented reality.
This game uses 8thwall SDK to achieve world tracking.
The dice are rendered with three.js using react-three-fiber and the physical world is simulated with cannon.js.
If the device does not support AR or 8thwall can't be loaded, the game runs without Augmented Reality.
bun install
# https://bun.sh/docs/installation
bun dev
Be sure to have your 8thwall api key as env VITE_XR8_API_KEY
. Or use a .env file. Or embed the app inside 8thwall sandbox.