A live version of the game is available here
Android: Tilt your device to move the ship. Tap to shoot.
PC: Use left ( ← ) and right ( → ) arrows to move. Use up arrow ( ↑ ) to shoot.
iOS: pending
Note: From what I have witnessed, the Acceleration API does not work on iOS devices, so I'm working on some controls to move the ship and shoot in a way that feels ok.
This project was developed as a way to learn the basics of React in a fun way.
This project is an example of:
- Some interesting concepts of game development such as the game loop and collisions
- React routing (had some trouble deploying to github pages)
- JS generator functions (really useful while animating the initialization of a new game, when enemy ships are spawned in order)
- Styled components
- React components
This project was bootstrapped with Create React App.