A colorful 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 by hiding in an estate with buildings.
How to Play
Use the arrow keys or WASD to move the dog around the screen
Avoid the robot that's chasing you
Hide behind buildings in the estate to escape the bot
The longer you survive, the higher your score
The robot gets faster over time, making the game progressively more challenging
Game Features
Colorful estate environment with buildings and decorations
Buildings that both you and the bot must navigate around
Smart bot pathfinding that tries to chase you around obstacles
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
Visual Elements
Colorful buildings with details (houses, larger buildings, fences)
Decorative elements like trees, flowers, and plants
Vibrant grass background with paths
Emoji-based characters (dog, robot, phone)
Colorful UI elements with improved styling
Technical Details
Built with HTML5 Canvas for rendering
Pure JavaScript for game logic including obstacle avoidance and pathfinding
CSS for styling and UI elements
Served via a TypeScript HTTP handler in Val Town
No external dependencies except for Twind (for styling) and error catching
Implementation Notes
The game is implemented as a TypeScript HTTP handler that serves HTML content with embedded JavaScript and CSS. This approach ensures proper content type handling and avoids parsing errors that can occur when serving HTML files directly in Val Town.