A pure javascript tetris game for React Native framework.
0.5. Fix the row clearing issue
-
Handle null exceptions when rotating neard the wall or blocks.
-
Add a drop button.
Try it with Exponent: https://getexponent.com/@community/react-native-tetris
To install, there are two steps:
- Install Exponent XDE following this guide. Also install the Exponent app on your phone if you want to test it on your device, otherwise you don't need to do anything for the simulator.
- Clone this repo and run
npm install
git clone https://github.com/ggomaeng/react-native-tetris.git tetris
cd tetris
npm install
- Open the project with Exponent XDE and run it.