A pretty cool yahtzee game in augmented reality.
⚠️ Unfortunately I no longer have a 8thwall plan. The AR features have been disabled.
This game uses 8thwall SDK to achieve world tracking.
The dice are renderer with three js using react-three-fiber and the physical world is simulated with cannon.
If the device does not support AR or 8thwall can't be loaded, the game runs without Augmented Reality features.
yarn
Be sure to have your 8thwall api key as env XR8_API_KEY
. Or use a .env file. Or embed the app inside 8thwall sandbox.
yarn dev