https://github.com/platane/yar-htzee
🎲🎲🥽 A pretty cool yahtzee game in augmented reality
https://github.com/platane/yar-htzee
8thwall augmented-reality game react-three-fiber yatzy
Last synced: 12 days ago
JSON representation
🎲🎲🥽 A pretty cool yahtzee game in augmented reality
- Host: GitHub
- URL: https://github.com/platane/yar-htzee
- Owner: Platane
- Created: 2021-01-18T19:52:31.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-04-15T17:51:40.000Z (12 days ago)
- Last Synced: 2025-04-16T00:09:13.235Z (12 days ago)
- Topics: 8thwall, augmented-reality, game, react-three-fiber, yatzy
- Language: TypeScript
- Homepage: https://platane.github.io/yAR-htzee/
- Size: 13.5 MB
- Stars: 17
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# yAR-htzee

A pretty cool yahtzee game in augmented reality.
[yAR-htzee](https://platane.github.io/yAR-htzee)
# Background
This game uses [8thwall](https://www.8thwall.com/products-web#world-tracking) SDK to achieve world tracking.
The dice are rendered with [three.js](https://github.com/mrdoob/three.js) using [react-three-fiber](https://github.com/pmndrs/react-three-fiber) and the physical world is simulated with [cannon.js](https://github.com/schteppe/cannon.js).
If the device does not support AR or 8thwall can't be loaded, the game runs without Augmented Reality.
# Install
```sh
bun install# https://bun.sh/docs/installation
```# Usage
```sh
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.
## Tips
- [wireless debugging](https://medium.com/android-news/wireless-debugging-through-adb-in-android-using-wifi-965f7edd163a)
# Attribution
- ["Dice"](https://skfb.ly/6RtsC) by tnRaro is licensed under [CC BY 4.0](http://creativecommons.org/licenses/by/4.0/).
- ["Lebombo"](https://hdrihaven.com/hdri/?c=indoor&h=lebombo) by Greg Zaal is licensed under [CC0](https://creativecommons.org/share-your-work/public-domain/cc0/)
- Thanks [@dhaiduk](https://github.com/dhaiduk) for providing a 8thWall dev key for this demo !