This project is a simple car game made in C++. Just need to avoid obstacles coming down via pressing A and D to move left and right.
This project describes is a simple car game made in C++.In this game, the user/player needs to avoid obstacles coming down via pressing A and D keys to move left and right. In this, I have used a 2-D character array for making the car. I used the #define preprocessor directive to define screen width, screen height, and windows width.
required libraries for the project:-
#include iostream
#include conio.h
#include dos.h
#include windows.h
#include time.h
Submitted by Ganapati Thota (shikiz)
Download packets of source code on Coders Packet
Comments