Understanding online gambling systems