You are on page 1of 10

TERM PAPER

(PUZZLE GAME)
SUBMITTED BY:
Name – Harpal Singh

Roll no. – r208a47

Section – 208

Reg. no.- 10802736

SUBMITTED TO:
MISS.AMANDEEP KAUR

ACKNOWLEDGEMENT
This project is meant for the study of the students like me. Some important
incidents during make this project are given below –

• In order to make this project firstly I was feeling very


uncomfortable, I was not so able that choose a topic by myself and
make a project on that topic, But our respected teacher “Ms. Daman
Kaur” helps me to overcome and told me about this topic, she also
told me about some important websites from where I collected the
whole data.

I pay my full attention during making this project, and even if there is
mistake of any type than I am sorry and hope that reader will forgive me
and I will be highly obliged to the reader for this great pleasure and a very
important thing about this topic is " I really enjoyed it."

Harpal Singh
B.Tech(ECE),M.TECH.
10802736

INDEX
1. Abstract.

2. Feasibility Study.

3. Analysis and Specification System Requirement

4. Programme Coding

5. Testing

6. Drawbacks

7. Future Work

8. Conclusion

9. Appendix

10. Bibliography

1. ABSTRACT.
"PUZZLE GAME" which is my term paper in which I have used various
functions, global variables, constant variables ,various header files to
complete my task . Basically what I have done in this term paper that I
made each and every thing in c coding . My only purpose to do this task is
to made a simple “PUZZLE GAME” in c coding to get a quiet good result
that I have completed in this .

2. FEASIBILITY STUDY
The feasibility study involves analysis of the problem and collection of data
which would be input to the system, this data has been collected and might
be benefit to various operations to respective fields.

3. REQUIREMENT ANALYSIS AND SPECIFICATION.


The goal of this phase is to understand the exact requirements of the
customers and to document them properly. This activity is usually executed
together with the customers, as the goal is to document all functions,
performance and interfacing requirements for the software.

In this I have used only simple c coding in which various functions

Various header files used in this coding are stdio.h, conio.h, for the
functioning of various functions like clrscr(),etc.

SYSTEM REQUIREMENT.
HARDWARE:-
PROCESSOR 2.4GH

HARD DISK 160GB

RAM 1GB

SYSTEM PENTIUM 4

SOFTWARE:-
TURBO C++ development environment

OPERATING SYSTEM :-
WINDOWS-VISTA

PROGRAM CODING:
#include<stdio.h>

#include<conio.h>

void main()

int n;

clrscr();

printf(“ Welcome 2 Puzzle Game\n”);

printf(“\n***************************************************************”\n);

printf(“\n Try Your Luck\n”);

printf(“\n =========================\n”);

printf(“\nEnter Your Lucky Number\n”);

scanf(“%d”,&n);

if(n==1)

Printf(“\nCongratulation\n”);

printf(“\nYour money is doubled\n”);

else

if(n==2)

Printf(“\nCongratulation\n”);

printf(“\nYou won a 2lit pepsi bottle\n);

else

if(n==3)

Printf(“\nCongratulation\n”);
printf(“\nYou can play 1more chance\n”);

else

if(n==4)

Printf(“\nCongratulation\n”);

printf(“\nYou won a setwet gel\n”);

else

if(n==5)

Printf(“\nCongratulation\n”);

printf(“\nYou won a JACKPOT\n”);

else

if(n==6)

Printf(“\nCongratulation\n”);

printf(“\nYou won Latest MP3 CDs\n”);

else

if(n==7)

Printf(“\nCongratulation\n”);

printf(“\nYou won a pencil box\n”);

else
if(n==8)

Printf(“\nCongratulation\n”);

printf(“\nYou won an Axe spray\n”);

else

if(n==9)

Printf(“\nCongratulation\n”);

printf(“\nYou won a Toy\n”);

else

if(n==10)

Printf(“\nCongratulation\n”);

printf(“\nYou won a Choclate packet\n”);

else

printf(“\nSorry Try Again\n”);

printf(“\nThank You For Visiting Us\n”);

printf(“\n Have A Nice Day\n”);

printf(“===========================================================”);

getch();

6. TESTING.
Testing is the process of executing of a program(or a
part of a program) with intention or goal of finding
errors.

Basically there are two types of Testing:

1) White Box Testing.


2) Black Box Testing.

White Box Testing is also known as glass box


testing, structural, clear box , open box testing.

A software testing technique wherby explicit


knowledge of the internal workings of the item
being tested are used to select the test data. Unlike
black box testing , white box testing use specific
knowledge of programming code to examine
outputs.

Black Box Testing relies on the specifications of the


system or component which is being tested to drive
test cases. The system is a black box whose
behavior can only be determined by studying its
inputs and the related outputs. Another name for
this is functional testing because mathematical
functions can be specified using only their inputs
and outputs. Black box testing is not an alternative
to white box techniques.

7. DRAWBACKS
This project is basically use for the small organization,
but may be difficult for bigger organization like
www.amazon.com, hence this cannot be utilize as
three-d games or play stations in which various graphics
functions are used by the programmer.
8. FUTURE WORK
This project shows the very small part of the “PUZZLE
GAME” in which just simple c coding has been used by
me.In future if some changes would be made in this
coding then may this programme will show some new
features which may be attractive.

9. CONCLUSION
In whole the project is very useful for small kind of
video games which attracts the small kids .

10. APPENDIX.
GNIIT NOTES

11. BIBLIOGRAPHY.
KAUR RAMANDEEP ,JINDAL AMAN - SOFTWARE
ENGINEERING

You might also like