Component based server-client casino game