Upload
kaushal-patel
View
214
Download
0
Embed Size (px)
Citation preview
8/6/2019 Document on Car Race
1/19
[Type the document title]
1 NIRMA UNIVERSITY- INSTITUTE OF TECHNOLOGY MCA DEPARTMENT
Overview of the System
This car racing game is an attempt to give new experience of the racing
with simple graphics. This game is made using C and C++ graphics .
This car racing game is made using C and C++to show the enhanced use
of graphics provided by this two languages and how we can make a general
application of this language.
This is our trial to show one of the uses of this language as an example of
aCAR RACING GAME
. In this we have tried to design the car racing game
with some different features.
8/6/2019 Document on Car Race
2/19
[Type the document title]
2 NIRMA UNIVERSITY- INSTITUTE OF TECHNOLOGY MCA DEPARTMENT
Software and Hardware tools
Minimum System requirement to run the application.
PROCESSOR Intel Pentium 2 , Celeron with
min 300 MHz or equivalent
RAM 64 MB
HARD DISK 10 GB
GRAPHIC CARD Not required
OPERATING SYSTEM MS-DOS, win 95 and following
versions.EXTERNAL DRIVES CD ROM or FLOPPY DRIVE
Best System to use this application
PROCESSOR Intel Pentium 4 , min 2 GHz or
equivalent
RAM 256 MB
HARD DISK 80 GB
GRAPHIC CARD Not required
OPERATING SYSTEM Windows Xp
EXTERNAL DRIVES CD ROM or FLOPPY DRIVE
*NOTE :-
This application is not compatible to work with Microsoft Vista or windows 7
64 bit Operating system.
To use this application in these kind of systems you require special S/w like
dosbox or any other which can support converting to 16-bit BUS
8/6/2019 Document on Car Race
3/19
[Type the document title]
3 NIRMA UNIVERSITY- INSTITUTE OF TECHNOLOGY MCA DEPARTMENT
Functions and Features
Functions:-
The basic function of the Car Racing is to allow the user to
play the game. The Functions of this application are given below in detail.
Configuring the game:-This is the first page of this game is to configuring the game.
In this the user has to configure the game according to his choice.
y Selecting the car:-Selecting the car according to the his choice from different
available options
y Selecting the game type:-We can select different levels of playing as mentioned in the
below features.
Score card:-In this function the user adds 5 points to his score for every
car he overtakes and the fluctuating score is displayed accordingly on
the top left corner. At the end of the game if the user has surpassed the
highest score then his will be stamped in the HIGH SCORE list in which
there are five best scores are listed with respective players.
Game Exit or Quit:-Through this function user can exit by interrupting the
continuity of the game at any given juncture .
8/6/2019 Document on Car Race
4/19
[Type the document title]
4 NIRMA UNIVERSITY- INSTITUTE OF TECHNOLOGY MCA DEPARTMENT
Features:
The features which are provided by this application is given as follows:
Selection of game level:-In this application you can select the game level which will
give you different speed to run your car.
The menu is as shown bellow
y Easyy Mediumy HardAccording to the selection of level you can have the different speed
levels
Selection of CAR:-You can select different cars from the car selection menu of
car MENU containing different colours
Popup menu:-This feature can allow you to pause your task at any situation in
the continuous game. By pressing ESC key
The MENU is shown as bellow
y RESUMEy CONTROLSy HIGH SCOREy MAIN MENUy QUIT
Resume:- this will continue the game from the position where it was
paused
8/6/2019 Document on Car Race
5/19
[Type the document title]
5 NIRMA UNIVERSITY- INSTITUTE OF TECHNOLOGY MCA DEPARTMENT
Controls:- this will show the key board controls for to play the game as
shown bellow
-> :: move left
8/6/2019 Document on Car Race
6/19
[Type the document title]
6 NIRMA UNIVERSITY- INSTITUTE OF TECHNOLOGY MCA DEPARTMENT
Programme specifications
Programme Name:-
CAR RACING GAME
Purpose:-
The purpose of this application is to give a graphical
representation with the help of the language C and C++.
Functionalities covered by Programme:-
Car racing game includes following functionalities
y Game selection according to choice: That is you can designthe game level and also you can select the car
y Any time play and pause:You can pause and play your game any time during the game execution
y Storing high score:storing the high score in a individual file.
y Show controls:you can show any time controls in the game.
8/6/2019 Document on Car Race
7/19
[Type the document title]
7 NIRMA UNIVERSITY- INSTITUTE OF TECHNOLOGY MCA DEPARTMENT
Screen shots
FIRST PAGE:-
Screen: 1
This is a first page of the game in which we create some
animation for example in above CAR RACE is moving at up to down and
similar down to up. After that our guides name and our names are animated
like one after another character. Now after completed this on note is come
PRESS ENTER TO CONTINUE and after you press enter key this first page is
over.
8/6/2019 Document on Car Race
8/19
[Type the document title]
8 NIRMA UNIVERSITY- INSTITUTE OF TECHNOLOGY MCA DEPARTMENT
SECOND PAGE:-
Screen: 2
In the second page there is a main menu which is shown above . Now in
main menu you are show START GAME this is select for the stat a newgame.
8/6/2019 Document on Car Race
9/19
[Type the document title]
9 NIRMA UNIVERSITY- INSTITUTE OF TECHNOLOGY MCA DEPARTMENT
Screen: 3
In second menu item is LEVEL in which when we select
this one page is open for the level type which is shown in above figure.
As shown above in this page you can select the level by the
navigation key for example EASY,MEDIUM, or HARD and when you
choose any one then this page will be off and return the main menu.
8/6/2019 Document on Car Race
10/19
[Type the document title]
10 NIRMA UNIVERSITY- INSTITUTE OF TECHNOLOGY MCA DEPARTMENT
Now after that the third menu item is SELECT CAR in
which when you select this one more page is open but it is some addition part
of main menu page. In which you can show design of car. You can show this
page given below.
8/6/2019 Document on Car Race
11/19
[Type the document title]
11 NIRMA UNIVERSITY- INSTITUTE OF TECHNOLOGY MCA DEPARTMENT
In above page you can select car which you want with navigation key
after the selection car when you press the enter key then this page return to
main menu.
Now in fourth menu item is CONTROL in this item you can
show the control which you use in playing the game.
Control:-
8/6/2019 Document on Car Race
12/19
[Type the document title]
12 NIRMA UNIVERSITY- INSTITUTE OF TECHNOLOGY MCA DEPARTMENT
Fifth item is HIGH SCORE. In this item you can show the score and
name of last five highest scorer players. After the press any key page is return
to main menu.
8/6/2019 Document on Car Race
13/19
[Type the document title]
13 NIRMA UNIVERSITY- INSTITUTE OF TECHNOLOGY MCA DEPARTMENT
Sixth and last item is QUIT. This item is used to exit the
game.
Now when you select first item START GAME the third
page will be open for the loading the game which is shown below.
8/6/2019 Document on Car Race
14/19
[Type the document title]
14 NIRMA UNIVERSITY- INSTITUTE OF TECHNOLOGY MCA DEPARTMENT
After some time game will be open in your screen. This is shown below.
8/6/2019 Document on Car Race
15/19
[Type the document title]
15 NIRMA UNIVERSITY- INSTITUTE OF TECHNOLOGY MCA DEPARTMENT
In this you will also show what your score is and when you
start completed the game your score will be incremented. Now in between if
you wish pause your game you can press esc key and you can show another
menu in which you show RESUME,CONTROL,HIGH SCORE,MAIN MENU
and QUIT.
8/6/2019 Document on Car Race
16/19
[Type the document title]
16 NIRMA UNIVERSITY- INSTITUTE OF TECHNOLOGY MCA DEPARTMENT
Now in between you are touch another car at that time your game is
over and you show in your screen one message GAME OVER which is shown
below.
8/6/2019 Document on Car Race
17/19
[Type the document title]
17 NIRMA UNIVERSITY- INSTITUTE OF TECHNOLOGY MCA DEPARTMENT
After some time above page is remove or off and new page
is open in which you show your score and you can enter your name.
8/6/2019 Document on Car Race
18/19
[Type the document title]
18 NIRMA UNIVERSITY- INSTITUTE OF TECHNOLOGY MCA DEPARTMENT
FUTURE SCOPE:-
In future, we will develop or enhance the game for two players as it is recently
running with single player.
Also we will inherit different features like saving the game in between and
running it from the saved mode.
If time permits, we will also develop connectivity through Bioscom and then
the game could be played between two players sitting on different machines.
8/6/2019 Document on Car Race
19/19
[Type the document title]
19 NIRMA UNIVERSITY- INSTITUTE OF TECHNOLOGY MCA DEPARTMENT