Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

Government Polytechnic Awasari (Khurd)

Tal-Ambegaon, Pune-412405

Department of Computer Engineering


2021-22
Sem-VI
Micro Project Report of
Mobile application Development
on
Dice Game
Submitted by:

Name of Student Roll Number Enrollment Number

Khairnar Shital Sanjay 21CO331 1910510100

Under the Guidance of


Mrs. V. S. Pawar
DEPARTMENT OF COMPUTER ENGINEERING
GOVERNMENT POLYTECHNIC AWASARI (KHURD)
SEMESTER-VI
2021-22

CERTIFICATE
This is to certify that project report entitles “Dice Game” submitted in the partial
fulfilment of requirement for the award of the diploma in computer engineering by Maharashtra
State Board of Technical Education as record of student’s own work carried out by them under
my guidance and supervision at Government Polytechnic Awasari (Khurd), During the
academic year 2021-2022

Name of Student Roll Number Enrollment Number

Khairnar Shital Sanjay 21CO331 1910510100

Place: Awasari Khurd Date: / /

(Mrs. V. S. Pawar) (Mrs. J. R. Hange)


Guidance Head, Computer Dept
ACKNOWLEDGEMENT
I have great pleasure and sense of satisfaction in presenting this microproject report on
“Dice Game" as part of the curriculum of Diploma in Computer Engineering. Being novice in
the field of designing and structuring in this micro-project, it could have been extremely
difficult for us to complete this A micro project on our own. We are very fortunate to be guided
by people with vast and resourceful experience in their respective field of work.
I express my sincere gratitude to our guide Mrs. V. S. Pawar for her timely guidance,
support and suggestions. We are also thankful for her sincere help and for making us available
all the facilities of the department. Without her efforts and constant monitoring, the micro-
project and documentation would not have been duly completed. Also, we express our sincere
thanks to Mrs. J. R. Hange (HOD Computer Department), besides, we take this opportunity to
express our sincere gratitude to the Principal Dr. D. R. Nandanvar, G. P. Awasari for providing
a good environment and facilities to complete this micro-project. We would also like to thank
all my colleagues who have directly or indirectly guided and helped us in the preparation of
this micro project.

- Khairnar Shital
Micro-Project Proposal
Part A
Title: Dice Game
1.0 Aim and Benefits of the project
• Programming skills Enhanced.
• Complex problem-solving skills acquired.

2.0 Course Outcomes Addressed


• Develop a rich user interface.
• Use user interface components for android application development.
• Configure android environment and development tools.
• Develop rich user interfaces by using layouts and controls.

3.0 Proposed Methodology


• It will be very simple in design and to Implement.
• The Calendar will be a user-friendly Program
• It will make the existing system more efficient.

4.0 Action Plan

Sr. Details of activity Planned Planned Name of Responsible


No Start date Finish date Team Members

1 Formation of project 21/02/2022 23/02/2022

2 Allocation of project title by subject 23/02/2022 28/02/2022


teacher
3 Conduct the information search about the 28/02/2022 10/03/2022
project for requirements analysis of the
project • Khairnar Shital
4 Arrangement of components and 10/03/2022 14/03/2022
material required for project
5 Actual assembling work 14/03/2022 08/04/2022

6 Report Preparation 20/04/2022 29/05/2022


7 Submission of project 01/05/2022 20/05/2022
5.0 Resources Required

S. Name of Specifications Qty Remarks


No. Resource/material
1 Computer system 4GB ram 1
2 Operating system Windows 10 1
3 Printer HP inkjet 1

6.0 Names of Team Members with Roll Nos.

Name of Student Roll Number Enrollment Number

Khairnar Shital 21CO331 1910510100


Part B
Title: Dice Game
1.0 Rationale
Dice, singular die, small objects (polyhedrons) used as implements for gambling and
the playing of social games. The most common form of die is the cube, with each side marked
with from one to six small dots (spots). The spots are arranged in conventional patterns and
placed so that spots on opposite sides always add up to seven: one and six, two and five, three
and four.

2.0 Aims

• To Develop User Friendly App


• To present information clearly.
• Programming skills Enhanced.
• Concepts of android become clearer.
• Complex problem-solving skills acquired.
• These dice games help strengthen number recognition, base 10 understanding, and
addition and subtraction skills.

3.0 Course Outcomes Addressed


• Develop a rich user interface.
• Use user interface components for android application development.
• Configure android environment and development tools.
• Develop rich user interfaces by using layouts and controls.
4.0 Literature Review

➢ “Dice Game” has been designed to exhibit the significant of an automated system,
which is used to manage information and to play game about Game Application, in this
project no attempt has been made in reinventing a wheel but sincere attempts have been
made in demonstrating a Dice Game using the facilities of python.
➢ The calculation application purposed to likely to change the whole scenario of correct
index tax system.it is considered as biggest tax return since 1947.Expert says that GST
will help the economy to grow in more efficient manner by improving the tax collection
is it will disrupt all the tax barriers between states and integrate the country by single
tax rate.

5.0 Actual Methodology Followed


The topic of micro-project on “Dice Game” was decided under the guidance of Mrs.
V. S. Pawar. The researched-on needs of program and information related to the micro-
project was done by using internet and books. The reference from other professional
software’s used in different programming which are available on internet are also used. The
working, structure and user-friendly interface were designed. After the research of some
days. The implementation of the collected information in program will be implanted. The
creating of program for “Dice Game” using Android is done. The testing of this program of
word counter using applet and multithreading to find out bugs and troubleshoot them. After
testing, the finalization of the project and the report on “Dice Game” using android is made.

6.0 Actual Resources Used

S. No. Name of Specifications Qty Remarks


Resource/material
1 Computer system 4 GB-ram,i5 core-processor 1

2 Software Android Studio 1

7.0 Outputs of the Micro-Projects


CODE:
MainActivity.java:
package com.example.dicerollingapp; public static ImageView img1, img2;

import android.os.Bundle; @Override


import android.view.View; protected void onCreate(Bundle
savedInstanceState) {
import android.widget.Button;
super.onCreate(savedInstanceState);
import android.widget.ImageView;
import android.widget.TextView;
setContentView(R.layout.activity_main);

import
// array to store dice images
androidx.appcompat.app.AppCompatActiv
ity; final int dice[] = {R.drawable.dice1,
R.drawable.dice2, R.drawable.dice3,
R.drawable.dice4,
import java.util.Random;
R.drawable.dice5, R.drawable.dice6};

public class MainActivity extends


// linking the roll button from its id..
AppCompatActivity {
button = findViewById(R.id.btVar1);

public static Button button;


// linking the result textview from its
public static TextView textView;
id..
textView = // textView as the winner
findViewById(R.id.tvVar1); otherwise draw..

// linking both the imageView of if (num1 > num2) {


// the dice images from its id.. textView.setText("WINNER :
Player 1");
img1 = findViewById(R.id.ivVar1);
} else if (num2 > num1) {
img2 = findViewById(R.id.ivVar2);
textView.setText("WINNER :
Player 2");
// call the on click function
} else {
button.setOnClickListener(new
textView.setText("RESULT :
View.OnClickListener() {
Draw");
@Override
}
public void onClick(View v) {
// set the images from the array
by the index
// generate two random numbers // position of the numbers
// using Random function generated

Random random = new


Random(); img1.setImageResource(dice[num1]);

int num1 = random.nextInt(6);


img2.setImageResource(dice[num2]);
Random random1 = new
Random(); }

int num2 = random.nextInt(6); });


}

// the bigger number will be


displayed in the

Android Manifest File:

<?xml version="1.0" encoding="utf-8"?> android:allowBackup="true"


<manifest
xmlns:android="http://schemas.android.co android:icon="@mipmap/ic_launcher"
m/apk/res/android" android:label="@string/app_name"

package="com.example.dicerollingapp"> android:roundIcon="@mipmap/ic_launche
r_round"
<application android:supportsRtl="true"
android:theme="@style/Theme.DiceRollin <category
gApp"> android:name="android.intent.category.LA
<activity UNCHER" />
android:name=".MainActivity" </intent-filter>
android:exported="true"> </activity>
<intent-filter> </application>
<action
android:name="android.intent.action.MAI </manifest>
N" />

OUPUT OF THE CODE:


8.0 Skill Developed of this Micro-Project
• Problem solving and logical thinking.
• Written and verbal communication.

9.0 Applications of this Micro-Project


• Facilitate to play game.
• Efficient very useful anywhere.
• Useful for Entertainment.

10.0 Conclusion
The main objective of the project is to develop a Dice game. This application is
developing with a comparatively less size and provide great efficiency. A wide range of
literature review has been taken in order to achieve all the tasks. Detailed research has been
made in that path to cover the loop holes those existing systems are facing and to eradicate
them in our application.

You might also like