play hand funct