Public
Like
NewTownieTest
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data โ all from the browser, and deployed in milliseconds.
index.ts
https://alfongj--4518937e375811f0ae8c9e149126039e.web.val.run
A fun browser-based space shooting game built with HTML5 Canvas and TypeScript!
- Control a spaceship with arrow keys or WASD
- Shoot lasers with spacebar
- Dodge incoming enemy ships
- Score points by destroying enemies
- Responsive canvas that fits the screen
- Smooth 60fps gameplay
- Move: Arrow keys or WASD
- Shoot: Spacebar
- Goal: Destroy as many enemies as possible without getting hit!
โโโ frontend/
โ โโโ index.html # Main game page
โ โโโ game.ts # Game logic and engine
โ โโโ style.css # Game styling
โโโ README.md # This file
- Built with HTML5 Canvas for smooth graphics
- TypeScript for type-safe game logic
- Collision detection system
- Particle effects for explosions
- Responsive design that works on different screen sizes