@load-games/space-invaders
v0.2.1
Published
Space Invaders game engine for load-games.
Maintainers
Readme
@load-games/space-invaders
Space Invaders for load-games.
Install
pnpm add @load-games/space-invaders @load-games/coreUsage
import { GameCanvas } from '@load-games/react'
import { SpaceInvadersEngine } from '@load-games/space-invaders'
<GameCanvas engine={SpaceInvadersEngine} width={320} height={320} />Controls
| Input | Action | |---|---| | Arrow Left / Right | Move ship | | Drag (mouse / touch) | Move ship directly | | Space / Tap | Shoot |
Clear a wave to advance. Invaders reach you OR a bullet hits ship = game over.
License
MIT
