a bitcoin slot machine in rails