Java implementation for five hundred card game