Vous êtes sur la page 1sur 15

Dice Rolling Simulator

using Python
A PROJECT REPORT FOR INDUSTRIAL
TRAINING
SUBMITTED BY
IN THE PARTIAL FULFILLMENT FOR THE
AWARD OF THE DEGREE OF
BCA
Tables of Contents
CONTENTS
1. ACKNOWLEDMENT
2. ABSTRACT
3. INTRODUCTION
3.1 Problem Definition……………………………………………….
3.2 Project Objective…………………………………………………….
3.3 Methodology……………………………………………………………
4. SYSTEM ANALYSIS
4.1 FEASIBILITY STUDY
Tables of Contents
5. CODES
6. SAVING PROCESS
7. OUTPUT
8. FUTURE SCOPE AND PLANS
9. LIMITATIONS
10. SUMMARY
11. BIBLIOGRAPHY
Acknowledgement

The achievement that is associated with the successful completion of any task
would be incomplete without mentioning the names of those people whose
endless cooperation made it possible. Their constant guidance and
encouragement made all our efforts successful.

We take this opportunity to express our deep gratitude towards our project
mentor, [Name of the faculty] for giving such valuable suggestions, guidance and
encouragement during the development of this project work.

Last but not the least we are grateful to all the faculty members of Ardent
Computech Pvt. Ltd. for their support
Abstract
The specification Device Identity Composition Engine (DICE) provides a novel basis for remote
attestations specifically suitable in the IoT context. Its purpose is to provide means for remote
attestations to devices that are too size-, cost-, energy- or otherwise constrained to have
Trusted Platform Module attached.
This paper gives a short explanation of DICE and compares different approaches for building
up a remote attestation protocol based on it, using symmetric and asymmetric cryptography.
Based on this comparison a symmetric attestation protocol is proposed for most resource
constrained devices and its implications for attestation servers are discussed. Furthermore a
feasibility study is conducted mapping the DICE and the proposed DICE-based attestation
approach to commercial off-the-shelf (COTS) hardware -- namely Arduino Uno in this case --
and measurement of the code size, binary size and added computational requirements is
provided. The security of the mapping approach is evaluated and its advantages and pitfalls
are demonstrated. The goal is to show how DICE-based approaches can be mapped to existing
hardware and how a more secure IoT environment can be established on already deployed
devices without changes to the hardware.
INTRODUCTION
A traditional die is a cube, with each of its six faces showing a different
number of dots (pips) from 1 to 6. When thrown or rolled, the die comes
to rest showing on its upper surface a random integer from one to six,
each value being equally likely. A variety of similar devices are also
described as dice; such specialized dice may have polyhedral or irregular
shapes and may have faces marked with symbols instead of numbers.
They may be used to produce results other than one through six. Loaded
and crooked dice are designed to favor some results over others for
purposes of cheating or amusementA dice tray, a tray used to contain
thrown dice, is sometimes used for gambling or board games, in particular
to allow dice throws which do not interfere with other game pieces.
Feasibility Study
A multicurved sheet metal surface for a skin structure has usually been manufactured using a
conventional die forming process involving the use of both a die and a press machine in
accordance with the product shape. However, such processes are economically inefficient
because additional production costs are incurred for the development and management of
forming tools. To overcome this drawback, many alternative processes have been developed;
however, these still suffer from problems due to defects such as dimples and wrinkles
occurring in the sheet. In this study, a new sheet metal forming process called the flexibly
reconfigurable roll forming (FRRF) process is proposed as an alternative to existing processes.
Unlike existing processes, FRRF can reduce additional production costs resulting from
material loss and significantly reduce forming errors. Furthermore, it involves the use of a
smaller apparatus. The methodology and applicable procedure of the FRRF process are
described. Numerical forming simulations of representative multicurved sheet surfaces are
conducted using FEM. In addition, a simple apparatus is developed for verifying the
feasibility of this process, and a doubly curved metal is formed to verify the applicability of
the reconfigurable roller, a critical component in this forming process.
Codes
Here, ill show u my code
of cube rolling simulator.
How its working in
python platform.
As we have the coding, now I guess we all
can understand how it is been done
Saving Process
Now lets show u where I have saved the file. If we don’t save we cant run the file and open the
file if we ever want to play the game or update anymore datas into it.

Now see, there’s shows my file name and its name is “Dice Rolling” . I can check my program
whenever I want because I saved the file.
Output
Now last and only thing is there to
show is the output of that program.
It is necessary to see whether
the program is giving u any output
or not. If its not giving then
how we’ll going to play .
Show heres my output screenshot
This screenshot is just to show how the game will work and we can see that I have given choices to
make it simple for others to play the game. Here we also get to play all again and again if we chose the
option that I have given here and we can quit that option is given by ‘NO’ option.
So I guess I can make it clear how my rolling cube works in game form.
Future scope and plan

In this project we have used the random module for this,since we want to
randomize the numbers we get from the dice.It can be further improved by
making a attractive graphical user interface or any other upgradation to this
that it can be supported in most of the device. Beginner s of games or any
gamer can easily get its concept and plays it because it is fully userfriendly. We
are still working on implementing some graphical interface.
Limitations

In this game dice can be rolled in between minimum and


maximum values added in the dice.there will occour error if
user gives unexpected input value.
SUMMERY
Dice is a small throwable object with multiple resting positions, used for
generating random numbers. DICE ROLLING SIMULATOR is an intuitive, simple
and lightweight simulating gaming app that can be used for any situation that
requires number generation.
However, new theoretical models and high-speed movies of dice rolls of
numerous numbers shapes and sizes confirm this isn’t strictly the case. They
show that dice thrown with a 1 on the top are slightly more likely to land as a 1
than as the other values for every type of the various kinds of dice they studied.
But at the same time , it’s actually too hard for someone to predict the outcome
of the throw of a single die.
BIBLIOGRAPHY
For making this CUBE ROLLING GAME we have taken help from the following URL links
➢ https://www.google.co.in/url?sa=t&source=web&rct=j&url=https://cod
ereview.stackexchange.com/questions/46328/dice-rolling-simulator&ve
d=2ahUKEwiouf2juaPcAhUKto8KHca8BMYQFjAMegQIBBAB&usg=AOvVa
w3mHIjKVr4u8N0TWWY4KmgZ
➢ https://www.google.co.in/url?sa=t&source=web&rct=j&url=%23&ved=2
ahUKEwiouf2juaPcAhUKto8KHca8BMYQwqsBMAF6BAgKEAU&usg=AOvV
aw0VTJzWxrN8ZFOD4xbU2nov
➢ https://www.google.co.in/url?sa=t&source=web&rct=j&url=https://en.
m.wikipedia.org/wiki/Dice_control&ved=2ahUKEwjm-MzvuaPcAhVJtY8K
HT02CN0QFjABegQICxAG&usg=AOvVaw3jCIUTvZucMYWe_kI428z1

➢ https://www.google.co.in/url?sa=t&source=web&rct=j&url=https://ygor
ganization.com/dicetheory/amp/&ved=2ahUKEwjm-MzvuaPcAhVJtY8KH T02CN0QFjAVegQ
THANKYOU

Vous aimerez peut-être aussi