it`s working, but with bugs (without getting card from player)