Jave api for playing poker