Car Racing game in C++

car race game in c

Car Racing game in C++ Here is a Car race game program written in c++ with 5 levels and 3 life. Let us see the c++ program here. #include<iostream.h> #include<conio.h> #include<graphics.h> #include<dos.h> #include<process.h> #include<stdlib.h> void makecar(int x, int y) { rectangle(x+1,y,x+49,y+100); rectangle(x+1,y+25,x+49,y+75); setfillstyle(SOLID_FILL,8); floodfill((x+x+50)/2,(y+y+100)/2,15); } void clear(int x,int y) { setcolor(8); rectangle(x+1,y,x+49,y+100); rectangle(x+1,y+25,x+49,y+75); setfillstyle(SOLID_FILL,8); floodfill((x+x+50)/2,(y+y+100)/2,8); … Read more