This algorithm is called by the mini-software when the user is ready to mining bitcoin.
cd server/ php -S localhost:8000
Then open the demo at 'http://localhost:8000'
Look inside of credentials.class.php
, adjust those variables for your local instance of bitcoind.
begin_mining()
The projet is base on "hamiyoca - Hash me if you can"