Skip to content

SiddhantVgaikwad/Retro_Car_Racing_Game_js

Repository files navigation

Retro Car Racing Game 🚗🕹️

Cargame Retro is a modernized 2D racing game with a retro arcade feel. Built with HTML, CSS, and JavaScript, it features stylish UI/UX, animated start and game over screens, and a live speedometer. Perfect for showcasing basic game logic, visual polish, and interactive design.

🎮 Features

Start menu with animated intro

Real-time HUD: timer, score, lap time, and speed

Pause/Resume functionality

Game over screen with final score

Responsive layout

Smooth glassmorphism UI style image

📁 Project Structure

Cargame-Retro/ ├── index.html # Main game file (UI + logic) ├── cloudgif.gif # Background clouds ├── pcar.png # Player's car ├── bcar.png # Enemy car (future expansion) ├── cocotree.png # Trees (future expansion) ├── finish.png # Finish line image └── README.md # Project documentation

🚀 Getting Started

  1. Clone or Download

git clone https://github.com/your-username/cargame-retro.git

  1. Open in Browser

Just open index.html in your preferred web browser.

🔧 Controls

Key

Action

C

Start Game

↑ / ↓ / ← / →

Drive Controls

ESC

Pause / Resume

M

Mute (future)

🧠 Built With

HTML5

CSS3 (with modern effects like glassmorphism)

Vanilla JavaScript

📌 To-Do (Ideas for Expansion)

Enemy car collisions

Dynamic road rendering

Tree and scenery placement

High score leaderboard

Sound effects and music

👤 Author

Siddhant – Frontend Developer & Game Enthusiast

📄 License

This project is open-source and available under the MIT License.

About

A browser-based car racing game using pure HTML, CSS, and JavaScript. Drive, dodge obstacles, and beat your high score!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors