A browser recreation of the classic game "Paratrooper" using TypeScript.
Paratrooper is a classic arcade game originally released in 1982. In this recreation, you control a turret to shoot down helicopters and paratroopers. You lose when 4 troopers land on either side of your turret.
- Node.js (v14 or higher)
- npm (v6 or higher)
-
Clone the repository
git clone https://github.com/askibinski/paratrooper.git cd paratrooper -
Install dependencies
npm install
Start the development server:
npm run dev
This will open the game in your default browser with hot-reload enabled.
To build the production version:
npm run build
Then to preview the production build:
npm run preview
- Left/Right arrow keys: Aim the turret
- Up arrow key or Spacebar: Shoot
- "Pause / Instructions" button: View game instructions
- "Restart" button: Restart the game
The game saves your highscores locally in your browser's localStorage.
ISC License - See LICENSE file for details