11
Exploring Game of Roulette By: Aditya Chimbalkar Under the guidance of Prof. Lucas Vespa Graduate Research Seminar CSC 540 December 1 st 2016

Data Analysis of Roulette Wheel

Embed Size (px)

Citation preview

Exploring Game of Roulette

Exploring Game of RouletteBy: Aditya ChimbalkarUnder the guidance of Prof. Lucas VespaGraduate Research SeminarCSC 540December 1st 2016

About RouletteWhat is Roulette?General OverviewObjective

Algorithm and Code Implementation

ImplementationCalculating average frequency of occurrence of a number.Occurred Twice and ThriceFrequency of occurring twice in a rowLongest run of Evens and Odds in row.

Challenges facedPascal LanguageSize of the ArrayNo Object Oriented supportSimilar to C languageGood for small programs

Average frequency of occurrences of a number

Frequency of number generated twice in a row.

Longest number of Evens and Odds in a row

Table of Comparison.Number of Spins(n)Average frequency of occurrences of a number twice in a rowAverage frequency of occurrences of a number thrice in a rowFrequency of number generated twice in a rowLongest number of Evens in a rowLongest number of Odds in a rowExecutionTime(seconds)10020522230.1100040.63676.00119310.11000035.79805.278762220.110000038.341262.3098310320.1100000037.181426.53998873120.31000000037.031345.449989916120.710000000037.011362.0999926605145

ConclusionData Types in PascalSize of an ArrayInput Value increase execution timeRepetitive occurrences can be predicted

Future WorkImplementation of different data-structuresSolving problem of size of an ArrayImplement in Turbo Pascal

Thank you!