impleentation of card game ( durak ) with ai and asynch in ruby