Youtube video: https://www.youtube.com/watch?v=ef50c3Ub2r4&t=28s
You can compile the project by modifying the provided makefile. Use the command make and launch the executable.
I used the following library to generate random numbers: https://github.com/ilqvya/random