Introduction

This is a project to evaluate the difficulty ratings of each level in the popular mobile video game; Candy Crush. The creator would like to figure out if the levels are challenging enough to keep players fully engaged.

The progress of 6,814 players through various levels was collected over a 6 month period.
## [1] "Number of players:"
## [1] 6814
## [1] "Period for which we have data:"
## [1] "2014-01-01" "2014-01-07"

I will calculate the probability of success for each level based on each player’s number of attempts and successes.

## # A tibble: 15 x 4
##    level attempts success p_success
##    <int>    <int>   <int>     <dbl>
##  1     1     1322     818    0.619 
##  2     2     1285     666    0.518 
##  3     3     1546     662    0.428 
##  4     4     1893     705    0.372 
##  5     5     6937     634    0.0914
##  6     6     1591     668    0.420 
##  7     7     4526     614    0.136 
##  8     8    15816     641    0.0405
##  9     9     8241     670    0.0813
## 10    10     3282     617    0.188 
## 11    11     5575     603    0.108 
## 12    12     6868     659    0.0960
## 13    13     1327     686    0.517 
## 14    14     2772     777    0.280 
## 15    15    30374    1157    0.0381

Levels 5,8,12 & 15 are the toughest levels as they have a success rate of less than 10%

I have added standard error adjustments to indicate the range of success for each level.

NULL

[1] "The probability of completion without a single loss is:"
[1] 9.447141e-12
[1] "This indicates that the game creator need not worry about the game not being challenging enough"