Highway Car Racer
- raedgharzeddine
- May 12
- 1 min read

Another childhood arcade game recreated as a simple browser-based racing game inspired by classic top-down driving games. The idea is straightforward: players control a red car that drives between cities, avoiding traffic, changing speed limits, road hazards, and sudden accidents.
The game uses a cartoon bird’s-eye-view style, with animated roads, moving lane markers, traffic vehicles, trees, buildings, road signs, cargo bonuses, and crash effects. The goal was not only to make the game playable, but also to make it feel like the car is really moving through a busy highway.
Players can accelerate, decelerate, and steer left or right to avoid cars, trucks, buses, motorcycles, pits, and accident scenes. Cargo items appear on the road and grant bonus points when collected. The quicker the route is completed, the higher the final score. Speed-limit signs introduce an additional challenge: staying outside the permitted speed range for too long results in point deductions.
Each level depicts a drive between two cities. As players advance, the road conditions worsen, traffic becomes more intelligent, obstacles appear more often, and dynamic vehicle accidents may occur.
The game was developed as an HTML5 TypeScript project featuring clean, modular coding and a responsive layout. It functions in browsers across desktops, tablets, and smartphones. Desktop users can control the game with a keyboard, whereas mobile users can use touch controls to accelerate, brake, and steer.
This game was developed using ChatGPT 5.5, without writing a single line of code. I utilized vibe coding to collaborate with LLMs in creating the game.
Feel free to check the code at:
To play with the solution: City Highway Racer



Comments