Public
Like
TetrisGame
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.
Viewing readonly version of main branch: v4View latest version
A simple browser-based game where you play as a dog who has stolen a phone from a robot. The goal is to run away from the bot for as long as possible.
- Use the arrow keys or WASD to move the dog around the screen
- Avoid the robot that's chasing you
- The longer you survive, the higher your score
- The robot gets faster over time, making the game progressively more challenging
- Simple, emoji-based graphics
- Increasing difficulty as the game progresses
- Score tracking based on survival time
- Game over screen with final score and restart option
- Responsive design that works on different screen sizes
- Built with HTML5 Canvas for rendering
- Pure JavaScript for game logic
- CSS for styling and UI elements
- No external dependencies except for Twind (for styling) and error catching
Potential enhancements that could be added:
- Power-ups that temporarily slow down the bot
- Obstacles on the game field
- Multiple levels with different themes
- Sound effects and background music
- High score tracking