Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 728 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 728 Bytes

RNSensorCarGame

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.

How to run

  1. Clone the repo:
git clone https://github.com/anchetaWern/RNSensorCarGame.git
  1. Install the dependencies:
cd RNSensorCarGame
npm install
  1. Install React Native Sensor dependencies:

  2. Run the project:

npx react-native run-android

Start from Xcode by opening the project's .xcworkspace file if you're on Mac.