An obstacle avoidance car game created with React Native and the following libraries:
- MatterJS - for implementing game physics.
- React Native Game Engine - for rendering the game into the screen.
- React Native Sensors - for listening to the devices’ accelerometer data.
- Clone the repo:
git clone https://github.com/anchetaWern/RNSensorCarGame.git
- Install the dependencies:
cd RNSensorCarGame
npm install
-
Run the project:
npx react-native run-android
Start from Xcode by opening the project's .xcworkspace file if you're on Mac.