• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • Weโ€™re hiring!
Log inSign up
alfongj

alfongj

NewTownieTest

Public
Like
NewTownieTest
Home
Code
3
frontend
3
README.md
H
index.ts
Branches
1
Pull requests
Remixes
History
Environment variables
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.
Sign up now
Code
/
Code
/
Search
index.ts
https://alfongj--4518937e375811f0ae8c9e149126039e.web.val.run
README.md

Pew-Pew Space Shooter Game ๐Ÿš€

A fun browser-based space shooting game built with HTML5 Canvas and TypeScript!

Features

  • 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

How to Play

  • Move: Arrow keys or WASD
  • Shoot: Spacebar
  • Goal: Destroy as many enemies as possible without getting hit!

Project Structure

โ”œโ”€โ”€ frontend/
โ”‚   โ”œโ”€โ”€ index.html          # Main game page
โ”‚   โ”œโ”€โ”€ game.ts            # Game logic and engine
โ”‚   โ””โ”€โ”€ style.css          # Game styling
โ””โ”€โ”€ README.md              # This file

Technical Details

  • 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
HTTP
  • index.ts
    alfongj--45โ€ฆ9e.web.val.run
Code
frontendREADME.md
H
index.ts
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
Weโ€™re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
ยฉ 2025 Val Town, Inc.