A fast-paced, minimalist arcade game built entirely with React Native and Expo — no images, no external assets, just pure Views, shapes, and animations.
Pilot your spaceship, dodge falling asteroids, and see how long you can survive. Every point counts, and every collision ends the run.
- Control a spaceship built entirely from React Native
Viewcomponents — no image assets used - Move left and right using on-screen controls
- Dodge continuously falling asteroids
- Score a point every time you successfully avoid an asteroid
- Real-time collision detection ends the game on impact
- Persistent high score saved locally on your device using
AsyncStorage - Smooth animations for ship movement, asteroid rotation, and UI transitions
- React Native
- Expo
- Expo Linear Gradient
- AsyncStorage
- React Native's built-in
AnimatedAPI
(Add screenshots or a gameplay GIF here once available)
git clone https://github.com/<your-username>/SpaceEscapeRunner.git
cd SpaceEscapeRunner
npm installnpx expo startScan the QR code shown in your terminal using the Expo Go app (Android) or your Camera app (iOS) to run the game on your device.
This project uses EAS Build to generate installable Android builds.
# Preview build (installable .apk)
eas build --platform android --profile preview
# Production build (.aab for Google Play)
eas build --platform android --profile production- Tap Start Game
- Use the ◀ and ▶ buttons to move your spaceship left and right
- Avoid the falling asteroids
- Your score increases each time an asteroid passes safely
- Try to beat your high score before you crash!
This project is open source and available under the MIT License.
Built as a learning project to explore React Native fundamentals — state management, animations, collision detection, and local storage — using only Expo's built-in tools.