Sort:  

I don't see any 'factory' pattern in your commits and your duplicate code: getCurrentBetId , getCurrentRoll could be extracted to one-place.

Coin Marketplace

STEEM 0.19
TRX 0.15
JST 0.029
BTC 64284.72
ETH 2650.82
USDT 1.00
SBD 2.79