Hack the Proton. A data-crunching game from the Beta and Bit series

I’ve prepared a short console-based data-driven R game named ,,The Proton Game’’. The goal of a player is to infiltrate Slawomir Pietraszko’s account on a Proton server. To do this, you have to solve four data-based puzzles.

The game can be played by beginners as well as heavy users of R. Survey completed by people who completed the beta version of this game shows that the game gives around 15 minutes of fun to people experienced in R and up to around 60 minutes to people that just start programming and using R. More details about the results from beta-version are presented on the plot on the bottom.


In order to install the game it is enough to install the package proton from CRAN.


To start the game just load this package.


Additional instructions will appear on your screen.

The game is prepared as an educational project of SmarterPoland.pl Foundation. To solve the first problem you need to prove that you can find a single row in a dataset. You can do that either through sorting the whole dataset or by filtering rows that fit given condition. The second problem was designed as practice loops (feel free to use for, sapply, while or any other type of loop). The third problem is intended as practice in combinations of more complex operations like grouping and summarizing. The last puzzle was designed as practice in basic operations on text like substitutions, aggregation and sorting.

The game is a part of the Incredible Adventures of Beta and Bit series that popularizes mathematics, statistics and computer science. Read more about it on http://www.biecek.pl/BetaBit/Warsaw (we have just started so this is the first game in the series).

9 thoughts on “Hack the Proton. A data-crunching game from the Beta and Bit series”

  1. Es una pena que los que no tengamos cuenta en Facebook no podamos acceder a los capítulos que describe este juego

    It’s a pity that people who haven’t a count in Facebook can’t access to the chapters describing the game.

    1. We are working on this (to access stories through G+ as well),
      but to play the game you just need toe 'proton’ package.
      The stories are linked with the game (same plot) but are not required.

  2. Yes, i know… actually i’m playing in my computer with R
    It’s only i needed some help in part 3.
    Thank you very much.

  3. Is there any pre-step to run it? I’m getting the error below:

    > install.packages(„proton”)
    Warning message:
    package ‘proton’ is not available (for R version 3.2.2)

      1. Hello!! Below is the session info:

        > sessionInfo()
        R version 3.2.2 (2015-08-14)
        Platform: x86_64-apple-darwin13.4.0 (64-bit)
        Running under: OS X 10.11.1 (El Capitan)

        [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

        attached base packages:
        [1] stats graphics grDevices utils datasets methods base

        loaded via a namespace (and not attached):
        [1] tools_3.2.2

        1. Strange, I have exactly the same settings. Could you try these instructions:

          if (!require(devtools)) {

          # Start the game

Dodaj komentarz

Twój adres e-mail nie zostanie opublikowany. Wymagane pola są oznaczone *