You are on page 1of 53

COMPUTER SCIENCE

INVESTIGATORY
PROJECT
------------ACKNOWLEDGEMENT------------

We would like to express our deep gratitude


to Mrs. B.Sumathi, Our computer science teacher for
helping and
guiding us in completing this project successfully.
We will be failing in our duty, if we don’t thank Our Principal
Mrs.P.N.Sundari for her everlasting support and
encouragement in
all our action and deeds which has helped us a long way in
finishing
We attribute the successthisofproject.
our project to the combined effort
of the
people mentioned above.
------------TABLE OF CONTENTS------------

HARDWARE AND SOFTWARE


REQUIREMENTS
INTRODUCTION TO THE PROJECT
PROBLEM ANALYSIS
HEADER FILES USED
DATA FILES USED
SOURCE CODE
OUTPUT
LIMITATIONS AND RECOMMENDED
ENHANCEMENTS
BIBLIOGRAPHY
---HARDWARE AND SOFTWARE REQUIREMENTS---

 WINDOWS – 7 OR HIGHER VERSION


 ENOUGH SPACE ON THE HARD DISK FOR FILES
PROCESSING
 NECESSARY PERMISSION TO CREATE FOLDER
FOR THE LOGGED-IN USER
 TURBO C++ COMPILER (TO COMPILE THE
SOURCE CODE)

------------INTRODUCTION TO PROJECT------------
The flash game is an interactive gaming platform
with 3
totally different games for different interest. It is
designed
GUESS GAME i-CRICKET LUCK TESTER
with the games:
Of these the user can choose a game to play and can
also
switch the game after finishing one. Scores will be
updated to
the Leaderboard after finishing the game. This is more
cool
due to the interface which accepts username each
time.
GUESSGAME:
This is a game of luck and strategy in which the user
has to
guess the number generated by the computer in
random where
the computer gives clue each time based on the entered
number and generated number.
i-CRICKET:
This game about cricket which is named as 'i-
Cricket', is
purely a fun, and time passing game.
This is probably a game that every child has played in
His/Her childhood. Since nowadays people spend more
time
with their computer, I thought of creating a Hand
Cricket
companion so that they can play with their own
RULES:
computer.
As soon you enter a number, the system will
also a number. If the number doesn't match, then
select
your score
will
If be the number
systems number matches
you just pressed.
your number, then 'Wicket
gone'.
BOWLING:
Just the reverse of BATTING rules.
Same number selection results in an
'OUT'.

LUCK TESTER:
Enter a number from 1 to 10 and get your luck
tested.
And don’t forget, its not easy to enter the
lucklist.

------------PROBLEM ANALYSIS------------
“FLASH GAMES” aims to manage the list of games that
can
be played any time anywhere. This helps serving the
needs of
students craving for fun. Entertainment and satisfaction
is the
soul purpose of this project .We wanted to make every
second
of gameplay to be memorable and fun.
---------HEADER FILES USED---------
string.h: The string.h header defines one variable
type, one
macro, and various functions for manipulating arrays
of
conio.h: The conio.h header file used in C programming
characters.
language contains functions for console input/output.
Some of
its most commonly used functions are clrscr, getch,
getche,
kbhit etc. They can be used to clear screen, change
color of
stdlib.h:
text The stdlib.h move
and background, header defines
text, four
check variable
whether a key is
types,
pressed or not and to perform other tasks.
several macros, and various functions for performing
general
stdio.h: The stdio.h header defines three variable
functions.
types,
several macros, and various functions for performing
input
fstream.h: Input/output stream class to operate on
and
files.output.
process.h: Includes macros and declarations.It is used
to
work with func. which includes processes. It includes
some
useful functions like abort, exit and system etc.
---------DATA FILES USED---------

Gamerslist.dat: Contains the name and the gamer id


of the existing
users.

Cricketlist.dat: Contains each result of the i-Cricket game


played

Guessgamelist.dat: Contains each result of the Guessgame


played

Lucklist.dat: Contains the details of users who won the lucktester


game
-------------OUTPUTS-----------
INTRO
CREATION OF NEW GAMER ID
LOGGING INTO EXISTING ID

MAIN MENU
i-CRICKET
GUESS GAME
LUCK TESTER
LISTS
i-CRICKET LIST

GUESS GAME LIST


LUCK LIST

QUIT
LIMITATIONS AND RECOMMENDED
ENHANCEMENTS:

1.Users will have to quit the program to view


the
lists(Leaderboard) again after viewing it one
time.
2.Users who doesn’t have a gamer id will not be
able
play the game.
3.Users whose gamer id does not exist in the
list
5. User cannot exit a game while
will not be
playing it. able to continue the program.
4. Gamer id and Name of the user will not be
allowed to change after creating it.
FUTURE SCOPES AND EXTENSIONS OF THIS
PROJECT:-

The project can be extended by making it more


interactive with
wonderful graphics
Further having and with
features likemore number
pausing of games.
the game in
between ,
choosing the difficulty level of the game , having more
modes
Ability to save the game in between and load later and
and choices for the user would be great.
having
more number of levels.
------------BIBLIOGRAPHY------------

Sumita Arora – Computer Science with C+


+
E. Balagurusami – C++ Robert Lafore –
Turbo
website :
C++
www.cppforschool.com

You might also like