Skip to content

Meraj2349/RACING-CAR-

Repository files navigation

Racing Car Game

This repository contains the source code for a Racing Car game developed using C++ and the SFML library.

Overview

The Racing Car game is a simple 2D game where the player controls a car, navigates through traffic, and avoids obstacles to score points. The game includes a main menu, gameplay mechanics, and resource management for graphics, audio, and fonts.

Contents

  • Source Files:

    • main.cpp: Contains the main game loop and logic.
    • MainMenu.h: Header file for the main menu, defining menu-related functions and data.
  • Resource Files:

    • Images (.png): Visual assets for the game, such as the car, obstacles, and background.
    • Audio (.wav): Sound effects and background music.
    • Fonts (.ttf): Font files used for displaying text in the game.

Requirements

  • A C++ compiler (like g++).
  • SFML library for graphics, window, and audio handling.

How to Compile and Run

  1. Clone the Repository:
    git clone https://github.com/Meraj2349/RACING-CAR-.git
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages