Sie sind auf Seite 1von 32

Minesweeper

2018
Project Report

Submitted by- Class- XII


Roll No.
Kishan Tripathi

Krutarth Dubey

Under the guidance of-


Mrs. Parul Sharma
Gyan Ganga International
Academy, Bhopal
Department of Informatics
Practices

Certificate
T
his is to certify that KISHAN TRIPATHI of class XII, has
successfully completed the research on the below mentioned
project under the guidance of Mrs. Parul Sharma during the year
2018-19 in partial fulfilment of practical examination conducted by
AISSCE, New Delhi.

Teacher’s Signature Principal’s Signature


External’s Signature
Acknowledgement

I
n the accomplishment of this project, successfully many
people have best owned upon me their blessings and the
heart pledged support, this time I am utilizing to thank all the
people who have been concerned with the project.

Primarily, I would like to express my gratitude to our principal


Mr. D. Ashok and IP teacher Mrs. Parul Sharma, whose
valuable guidance has been the ones that helped us patch this
project and make it full proof success. Her suggestions and
instructions have served as the major contributor towards the
completion of this project.

Also, I would like to thank my parents and friends who have


helped me with their valuable suggestions which has been
helpful in various phases of the completion of this project.
Last but not the least I would like to thank our classmates
who have helped me a lot.

3
INDEX
Title Page no
i. Introduction1
ii. Software Requirements 2
iii. MySQL Connectivity 3
iv. Project Hierarchy 4
v. TheRun 5
vi. Level Selector 9
vii. Mines 13
viii. Board 14
ix. Minesweeper 22
x. Conclusion and Suggestions 27
xi. Bibliography 28

4
Role of RDBMS Application Program:

A computer database works as an electronic filing system, which has a large


number of ways of cross-referencing, and this allows the user many different ways
in which to re-organize and retrieve data. A database can handle business
inventory, accounting and filing and use the information in its files to prepare
summaries, estimates and other reports. The management of data in a database
system is done by means of a general-purpose software package called a Database
Management System (DBMS). Some commercially available DBMS are MS SQL
Server, MS ACCESS, INGRES, ORACLE, and Sybase. A database management
system, therefore, is a combination of hardware and software that can be used to
set up and monitor a database, and can manage the updating and retrieval of
database that has been stored in it. Most of the database management systems
have the following capabilities:
 Creating of a table, addition, deletion, modification of records.
 Retrieving data collectively or selectively.
 The data stored can be sorted or indexed at the user's discretion and
direction.
 Various reports can be produced from the system. These may be either
standardized report or that may be specifically generated according to
specific user definition.
 Mathematical functions can be performed and the data stored in the database
can be manipulated with these functions to perform the desired calculations.
 To maintain data integrity and database use.
The DBMS interprets and processes users' requests to retrieve information from a
database. In most cases, a query request will have to penetrate several layers of
software in the DBMS and operating system before the physical database can be
accessed. The DBMS responds to a query by invoking the appropriate
subprograms, each of which performs its special function to interpret the query, or
to locate the desired data in the database and present it in the desired order.

1
Hardware&Software
Requirements

Minimum Requirements
Processor: Intel Atom or Greater
Main Memory: 1 GB
Video Adapter: 4 MB SVGA
Hard Disk: 20 GB

Software Requirements
Platform: Windows 10/8.1/8/7/XP/NT
Client Side Validation: Java/Netbeans
Server Side Validation: MySQL Server
Database Connectivity: JDBC/ODBC

RDMS:MySQL 5.1.46

2
3
TheRun
•JFrame

LevelSelecter
•JFrame

Mines
•Class File

Board
•Class File

Minesweeper
•JFrame

4
Game Main Screen
TheRun

5
jLabel1

jPanel1

jLabel2 loginid

Login
jLabel3
loginpass

jPanel2

jLabel4 newuser

Signupbtn

jLabel5 newpass

jButton2

Imports

6
To Register

7
To Login

To Exit

8
Level selector

9
jLabel1 showid

jLabel2 showscore

jLabel3 showmaxscore

jButton1 jButton3

jButton2 noofrows

jLabel4
jButtton4
jLabel

noofbombs jButton5

Imports

10
BeginnerLevel

Intermediate level

Expert Level

11
Custom Level

Return to login screen

12
Mines

13
Board
Imports

14
Variable Declaration

15
16
17
18
19
20
21
Minesweeper
Beginner Level

22
Intermediate level

23
24
Expert Level

25
26
Conclusion
This was an effort to develop a simple Game using Java for
game Mechanics and saving information using MySQL as
database. We hope you like it.

Following are some possible enhancements


which may be incorporated in this project in
future:-
1) A Stopwatch can be added to show time
elapsed.
2) All cells can be uncovered in the end of
the game.
3) A Restart button can be added to the
game.

27
Bibliography
In order to work on this project titled-Minesweeper,
following books and websites were referred by us
during various phase of development of the
project.

1) NCERT Informatics Practices


2) Informatics Practices by Sumita Arora
3) Stackoverflow.com
4) Google
5) http://www.netbeans.org/
6) http://www.mysql.org/

28

Das könnte Ihnen auch gefallen