Skip to content

Platane/yAR-htzee

Repository files navigation

yAR-htzee

type definitions code style

A pretty cool yahtzee game in augmented reality.

yAR-htzee

⚠️ Unfortunately I no longer have a 8thwall plan. The AR features have been disabled.

Background

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.

Install

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.

Usage

yarn dev

Attribution