0% found this document useful (0 votes)
46 views10 pages

PWP Report

This document describes a micro-project to develop a dice roller application in Python. It discusses the rationale, aims, methodology, and outputs of creating a program that simulates rolling dice and displays random outcomes for users. Key aspects covered include using GUI elements and random number generation in Python.

Uploaded by

Vaishnavi Naik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views10 pages

PWP Report

This document describes a micro-project to develop a dice roller application in Python. It discusses the rationale, aims, methodology, and outputs of creating a program that simulates rolling dice and displays random outcomes for users. Key aspects covered include using GUI elements and random number generation in Python.

Uploaded by

Vaishnavi Naik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

A MICRO-PROJECT REPORT

ON

“Dice Roller”

In the partial fulfilment of the requirement for the Diploma


In

Computer Technology

Submitted By

Name Enrollment No
Navale Tanuja Nanasaheb 2100800237
Kathe Dnyanehswari Bhausaheb 2100800261
Saundane Ankita Sandip 2100800262

Under the Guidance of Ms. Borhade S. S.

Amrutvahini Sheti and Shiksha Vikas Sanstha’s

Amrutvahini Polytechnic, Sangamner

2023-2024
Amrutvahini Sheti and Shiksha Vikas Sanstha’s

Amrutvahini Polytechnic, Sangamner

Department of Computer Technology

CERTIFICATE

This is to Certify that

Name Enrollment No
Navale Tanuja Nanasaheb 2100800237
Kathe Dnyanehswari Bhausaheb 2100800261
Saundane Ankita Sandip 2100800262

Has satisfactorily carried out and completed the


microproject entitled:

“Dice Roller”

As prescribed by MSBTE, Mumbai, as part of syllabus for


the partial fulfilment of Diploma in Computer Technology

Programming with Python (22616)

For the academic year 2023-24

Prof- Ms. Borhade S. S Prof- Mr. Kale. G. B


(Guide) (HOD)
MAHARASHTRA STATE BOARD OF
TECHNICAL EDUCATION

Certificate

This is to certify that Mr. / Ms. Navale Tanuja Nanasaheb

Roll No. 30 of Six Semester Diploma in Computer Technology Dept(CM6I) of

Amrutvahini Polytechnic (0080/1105) has completed the Microproject satisfactory in

Subject Programming with Python (22616) for the academic year 2023 to 2024 as

prescribed in the MSBTE curriculum.

Place: Sangamner Enrollment No.: 2100800237

Date: ___________________ Exam Seat No.: ____________________

Subject Teacher Head of the Department Principal

Seal of
Institutio
n
MAHARASHTRA STATE BOARD OF
TECHNICAL EDUCATION

Certificate

This is to certify that Mr. / Ms. Kathe Dnyanehswari Bhausaheb

Roll No. 49 of Six Semester Diploma in Computer Technology Dept(CM6I) of

Amrutvahini Polytechnic (0080/1105) has completed the Microproject satisfactory in

Subject Programming with Python (22616) for the academic year 2023 to 2024 as

prescribed in the MSBTE curriculum.

Place: Sangamner Enrollment No.: 2100800261

Date: ___________________ Exam Seat No.: ____________________

Subject Teacher Head of the Department Principal

Seal of
Institutio
n
MAHARASHTRA STATE BOARD OF
TECHNICAL EDUCATION

Certificate

This is to certify that Mr. / Ms. Saundane Ankita Sandip

Roll No. 50 of Six Semester Diploma in Computer Technology Dept(CM6I) of

Amrutvahini Polytechnic (0080/1105) has completed the Microproject satisfactory in

Subject Programming with Python (22616) for the academic year 2023 to 2024 as

prescribed in the MSBTE curriculum.

Place: Sangamner Enrollment No.: 2100800262

Date: ___________________ Exam Seat No.: ____________________

Subject Teacher Head of the Department Principal

Seal of
Institutio
n
Annexure – II
Micro-Project Report
“ Dice Roller ”

1.0 Rationale
The "Dice Roller" micro-project in Python is designed to offer practical experience in GUI
development, random number generation, and user interaction. Through this project,
learners gain hands-on insights into software development principles, reinforcing Python
programming skills in a focused and engaging context. The application's simplicity allows
for a comprehensive exploration of fundamental concepts, fostering a deeper understanding
of practical programming techniques.

2.0 Aims/Benefits of the Micro-Project


The aim of the "Dice Roller" micro-project in Python is to develop a simple application that
simulates rolling dice, providing users with a randomized outcome for gaming or decision-making
purposes. This project aims to enhance programming skills by implementing GUI elements and
randomization in Python.

3.0 Course Outcomes Addressed


Co. No. Course Outcome Statement

CI602.1 Use3 Python IDE to display message on screen

CI602.2 Implement3 Python program to demonstrate use of operators

CI602.3 State1 operations on data structures in Python

CI602.4 Implement3 functions for given problem

CI602.5 Demonstrate3 classes for given problem

CI602.6 Use3 Exception Handling


4.0 Literature Review
The literature on dice rolling simulations in Python encompasses practical implementations for
gaming and educational purposes, often leveraging libraries like tkinter for GUI development and
the random module for random number generation. The provided code demonstrates a
straightforward approach to creating a dice rolling game with a visually appealing interface and
interactive elements. While the implementation serves as a solid foundation, potential
enhancements such as incorporating animations for dice rolling motion and implementing game
logic for score tracking could further enrich the user experience. Overall, this literature
emphasizes the importance of GUI development and random number generation techniques in
creating engaging interactive experiences with Python.

5.0 Actual Methodology Followed

o First, we have gathered all the information about the alarm clock with GUI in Python.
o Then we encompass features like time display, alarm setting, customizable alarms, and user-
friendly interactions.
o In this project alarms can be set, and we can also stop them when the alarm time arrives. The alarm
rings, and a popup message appears.
o Next, we develop a proposal for alarm clock with a graphical user interface (GUI) in Python to
provide users for efficient time management
o After thoroughly crafting the proposal, we created a comprehensive report for our project, detailing
its features and every aspect.

6.0 Actual Resources Used

Sr. Name of
Specifications Quantity Remarks
No. Resource/material
Computer System with broad
1. Zenith PC 2GB RAM
specifications

2. Operating System Linux Mint/Win 8.1

Office, Sublime Text 1


3. Software
Editor, Browser
4. Keyboard
5. Mouse
❖ Program Code

from tkinter import *


import random

def roll_dices():
dice_dots = ['\u2680', '\u2681', '\u2682', '\u2683', '\u2684', '\u2685']
dice_values = [random.choice(dice_dots) for _ in range(2)]
label.config(text=''.join(dice_values), fg="deeppink")

window = Tk()
window.title("Rolling The Dices Game")

window.configure(bg="black")
window.geometry("650x450")
window.resizable(0, 0)

def on_enter(e):
roll_button.config(bg="darkcyan")

def on_leave(e):
roll_button.config(bg="aqua")

label_frame=Frame(window, bg="black", bd=4, relief="raised",


highlightbackground="darkmagenta", highlightthickness=4)
label_frame.pack(pady=80)

label = Label(label_frame, text="Click Roll to Start", font=("Arial", 40), bg="black",


fg="deeppink")
label.pack(padx=40, pady=40, anchor="center")

roll_button = Button(window, text="Roll!", width=10, height=2, font=("Arial", 18), bg="aqua",


bd=2, command=roll_dices)
roll_button.pack(side="bottom", pady=20)
roll_button.bind("<Enter>", on_enter)
roll_button.bind("<Leave>", on_leave)
window.mainloop()

7.0 Outputs of the Micro-Projects:


8.0 Skill Developed / Learning outcomes:
• Analyzing the problem
• Problem solving approach
• Planning
• Design skill
• Logical skill
• Programming
• Testing and Troubleshooting
• Presentation
• Report writing

9.0 Applications of the Micro-Project:

• Dice rolling in Python enables the development of digital versions of tabletop games,
providing entertainment to users.

• It serves as an educational tool in mathematics and probability courses, aiding students in


visualizing concepts like probability distributions and statistical analysis.

• Dice rolling simulations are valuable for modeling real-world scenarios, aiding professionals
in decision-making processes and risk analysis in fields like statistics and engineering.

• In software development, dice rolling can be utilized for randomized testing, helping uncover
potential bugs or vulnerabilities in the system by testing various scenarios randomly.

Teacher Signature
(Ms. Borhade S.S)

You might also like