Created the Spaceinvaders game using React with the Canvas API from the HTML Canva element
Aim of the game is simple destroy the aliens with you spaceship.
Movements are UP ARROW to shoot, RIGHT ARROW to move right, and LEFT ARROW to move left.
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh